]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: adnp: use simple i2c probe function
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 28 Jun 2022 19:59:12 +0000 (22:59 +0300)
committerBartosz Golaszewski <brgl@bgdev.pl>
Tue, 19 Jul 2022 07:57:13 +0000 (09:57 +0200)
commit263f20ace52de2ec822cc06570141bd2bdebfd3f
tree127042cc3de41c89a05b342e11630b65b62deae7
parent2df361bb281d7e9c60137b50403f0a1d6a9e71ac
gpio: adnp: use simple i2c probe function

The i2c probe functions here don't use the id information provided in
their second argument, so the single-parameter i2c probe function
("probe_new") can be used instead.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/gpio-adnp.c