gpio: pca953x: Use i2c_get_match_data()
authorBiju Das <biju.das.jz@bp.renesas.com>
Thu, 24 Aug 2023 16:00:17 +0000 (17:00 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 25 Aug 2023 11:13:23 +0000 (13:13 +0200)
commitea05787136256b078fab3cc7db33caf24678ee47
tree3d263b945520536cb1c34b00af823987995f40f1
parent1d2a22fa6d2511d5871d87c15b4fe7a944fe3b2a
gpio: pca953x: Use i2c_get_match_data()

Replace device_get_match_data() and id lookup for retrieving match data
by i2c_get_match_data().

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-pca953x.c