commit | 7ee69102dbc4eea90f46a24f16961226a477dd4c | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Tue Jan 09 17:09:17 2018 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jan 22 14:19:10 2018 +0100 |
tree | c00b7db06a656fabb01d33b1ea926b1a93554585 | |
parent | 2460942f51f1f262e77072c9a7c963a1b047a367 [diff] |
serdev: only match serdev devices Only serdev devices (a.k.a. clients or slaves) are bound to drivers so bail out early from match() in case the device is not a serdev device (i.e. if it's a serdev controller). Signed-off-by: Johan Hovold <johan@kernel.org> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>