linux/arch/arm/plat-orion/include/plat
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
..
addr-map.h arm: plat-orion: Add coherency attribute when setup mbus target 2012-11-21 17:07:49 +01:00
common.h ARM: plat-orion: add missing ehci include to common.h 2013-05-13 16:04:00 +00:00
irq.h ARM: orion: remove no longer needed DT IRQ code 2014-04-26 19:45:26 +00:00
mpp.h arm: plat-orion: use void __iomem pointers for MPP functions 2012-09-21 18:04:24 +00:00
orion-gpio.h leds: leds-gpio: Convert gpio_blink_set() to use GPIO descriptors 2014-11-04 21:58:25 +01:00
pcie.h ARM: Orion: Get address map from plat-orion instead of via platform_data 2011-12-13 18:46:55 -05:00
time.h arm: plat-orion: use void __iomem pointers for time functions 2012-09-21 18:04:39 +00:00