kernel-ark/arch/arm/plat-orion
Mika Westerberg c673a2b400 leds: leds-gpio: Convert gpio_blink_set() to use GPIO descriptors
Commit 21f2aae91e902aad ("leds: leds-gpio: Add support for GPIO
descriptors") already converted most of the driver to use GPIO descriptors.
What is still missing is the platform specific hook gpio_blink_set() and
board files which pass legacy GPIO numbers to this driver in platform data.

In this patch we handle the former and convert gpio_blink_set() to take
GPIO descriptor instead. In order to do this we convert the existing four
users to accept GPIO descriptor and translate it to legacy GPIO number in
the platform code. This effectively "pushes" legacy GPIO number usage from
the driver to platforms.

Also add comment to the remaining block describing that it is legacy code
path and we are getting rid of it eventually.

Suggested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2014-11-04 21:58:25 +01:00
..
include/plat leds: leds-gpio: Convert gpio_blink_set() to use GPIO descriptors 2014-11-04 21:58:25 +01:00
common.c dsa: Replace mii_bus with a generic host device 2014-09-15 17:24:20 -04:00
gpio.c leds: leds-gpio: Convert gpio_blink_set() to use GPIO descriptors 2014-11-04 21:58:25 +01:00
irq.c ARM: orion: remove no longer needed DT IRQ code 2014-04-26 19:45:26 +00:00
Makefile Removal of GENERIC_GPIO for v3.10 2013-05-09 09:59:16 -07:00
mpp.c arm: plat-orion: fix printing of "MPP config unavailable on this hardware" 2013-01-23 14:37:52 +00:00
pcie.c arm: plat-orion: use mv_mbus_dram_info() in PCIe code 2013-03-17 18:03:44 +00:00
time.c ARM: SoC platform changes for 3.14 2014-01-23 18:40:49 -08:00