gpio: Move devres calls to devres file
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 13 Mar 2020 08:15:22 +0000 (09:15 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 20 Mar 2020 09:23:06 +0000 (10:23 +0100)
commita28e1c0505a09c3a2d81fed1c8453ac2d8d02b3a
tree459f9cd88589df86ad3564f0a999f738ff2975bf
parent347ae6e29145077469838f3bb66939ec8ee8956a
gpio: Move devres calls to devres file

These two devres functions devm_gpiochip_[add|remove]()
were in the wrong file. They should be in gpiolib-devres.c
not gpiolib.c.

Link: https://lore.kernel.org/r/20200313081522.35143-1-linus.walleij@linaro.org
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-devres.c
drivers/gpio/gpiolib.c