ARM: orion/gpio: Make use of for_each_requested_gpio()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 15 Jun 2020 15:05:42 +0000 (18:05 +0300)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Sat, 18 Jul 2020 20:49:23 +0000 (22:49 +0200)
commit01b5e34518675fc02673ac8c0e11dcffb3a0100e
tree1a66502a316e935d353a5203e78019bf767815bb
parentb3a9e3b9622ae10064826dccb4f7a52bd88c7407
ARM: orion/gpio: Make use of for_each_requested_gpio()

Make use of for_each_requested_gpio() instead of home grown analogue.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Gregory Clement <gregory.clement@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/plat-orion/gpio.c