]> git.karo-electronics.de Git - linux-beck.git/commit
leds: leds-gpio: adopt pinctrl support
authorAnilKumar Ch <anilkumar@ti.com>
Sat, 1 Sep 2012 08:16:30 +0000 (16:16 +0800)
committerBryan Wu <bryan.wu@canonical.com>
Tue, 11 Sep 2012 10:32:43 +0000 (18:32 +0800)
commit8fe4554f675c5822a0e12382e6843965ffd11c30
tree3807dd77e465c89c39fa09050d1f4e08320b845c
parentb98d13c725920e9ab7696e0d7d19c4db1bdf6737
leds: leds-gpio: adopt pinctrl support

Adopt pinctrl support to leds-gpio driver based on leds-gpio
device pointer, pinctrl driver configure SoC pins to GPIO
mode according to definitions provided in .dts file.

Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
Acked-by: Marek Vasut <marex@denx.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
drivers/leds/leds-gpio.c