diff options
author | Johan Hovold <johan@kernel.org> | 2018-01-09 17:09:17 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-22 14:19:10 +0100 |
commit | 7ee69102dbc4eea90f46a24f16961226a477dd4c (patch) | |
tree | c00b7db06a656fabb01d33b1ea926b1a93554585 /drivers/mfd/max14577.c | |
parent | 2460942f51f1f262e77072c9a7c963a1b047a367 (diff) | |
download | linux-7ee69102dbc4eea90f46a24f16961226a477dd4c.tar.bz2 |
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>
Diffstat (limited to 'drivers/mfd/max14577.c')
0 files changed, 0 insertions, 0 deletions