leds: leds-gpio: Make use of device property API
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 27 Oct 2014 22:30:10 +0000 (23:30 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 4 Nov 2014 20:58:23 +0000 (21:58 +0100)
commita43f2cbbb009f96231bbbe24ad4f824215dedb81
treebf7e0285e23b673aa30ccf90533d49e3d9e7f60a
parent40b7318319281b1bdec804f6435f26cadd329c13
leds: leds-gpio: Make use of device property API

Make use of device property API in this driver so that both OF and ACPI
based system can use the same driver.

This change contains material from Max Eliaser and Mika Westerberg.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Bryan Wu <cooloney@gmail.com>
Acked-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/leds/leds-gpio.c