]> git.itanic.dy.fi Git - linux-stable/commit
gpio: brcmstb: remove custom 'brcmstb_gpio_set_names'
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Wed, 28 Jul 2021 04:12:53 +0000 (06:12 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 29 Jul 2021 17:41:44 +0000 (19:41 +0200)
commite5de9d283a36a2923f7f309050b8c51b14753c3a
tree8c6d620b7ca274903e79ad34ca0c01b9f284f307
parent0fb903914914a10b04dc8e5e5b09c8dca452ca91
gpio: brcmstb: remove custom 'brcmstb_gpio_set_names'

Gpiolib core code has been updated to support setting friendly names
through properly 'gpio-line-names'. Instead of redefine behaviour here
to skip the core to be executed, just properly assign the desired offset
per bank to get in the core the expected behaviour.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Gregory Fong <gregory.0xf0@gmail.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-brcmstb.c