]> git.karo-electronics.de Git - karo-tx-linux.git/commit
power: supply: axp20x_usb_power: use of_device_id data field instead of device_is_com...
authorQuentin Schulz <quentin.schulz@free-electrons.com>
Fri, 9 Dec 2016 11:04:09 +0000 (12:04 +0100)
committerSebastian Reichel <sre@kernel.org>
Wed, 4 Jan 2017 20:59:30 +0000 (21:59 +0100)
commit0dcc70ca8644083b610a831173b114cbc67db3ec
tree4f156221052afe121455a353fe964d6858387f9d
parentbf383fea1fdde944839c8aca6a19d338feea715b
power: supply: axp20x_usb_power: use of_device_id data field instead of device_is_compatible

This replaces calls to of_device_is_compatible to check data field of
of_device_id matched when probing the driver.

Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/supply/axp20x_usb_power.c