mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
driver:gpio remove all usage of gpio_remove retval in driver
this remove all reference to gpio_remove retval in all driver except pinctrl and gpio. the same thing is done for gpio and pinctrl in two different patches. Signed-off-by: Abdoulaye Berthe <[email protected]> Acked-by: Michael Büsch <[email protected]> Acked-by: Dmitry Torokhov <[email protected]> Acked-by: Mauro Carvalho Chehab <[email protected]> Acked-by: Tomi Valkeinen <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
2134cb997f
commit
88d5e520aa
27 changed files with 52 additions and 129 deletions
|
|
@ -475,7 +475,8 @@ int ssb_gpio_unregister(struct ssb_bus *bus)
|
|||
{
|
||||
if (ssb_chipco_available(&bus->chipco) ||
|
||||
ssb_extif_available(&bus->extif)) {
|
||||
return gpiochip_remove(&bus->gpio);
|
||||
gpiochip_remove(&bus->gpio);
|
||||
return 0;
|
||||
} else {
|
||||
SSB_WARN_ON(1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue