]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: icy: convert to i2c_new_scanned_device
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 6 Nov 2019 09:50:20 +0000 (10:50 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 28 Nov 2019 16:15:48 +0000 (17:15 +0100)
commit7f18625dd979208745a1593b4bf2ea64798d39cc
tree64b92ab8c0c7c7e9b04e832f818ae90a8d21d4e5
parentac8c9e82f7ce1fa1f48e6f2ca6ab366cbd2e3c65
i2c: icy: convert to i2c_new_scanned_device

Move from the deprecated i2c_new_probed_device() to the new
i2c_new_scanned_device(). Make use of the new ERRPTR if suitable.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Max Staudt <max@enpas.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-icy.c