commit | 5f7b03dc2ab5f4ca16e5d6bc3e6dcd2953c6fede | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Sun Apr 06 15:20:08 2014 -0700 |
committer | Bryan Wu <cooloney@gmail.com> | Thu May 08 14:28:07 2014 +0800 |
tree | b60d1bab4279494cce35d711300c6f0b5ffd3c5e | |
parent | 2ce112f1e788a695630e2c275f47d57a801673d3 [diff] |
leds: leds-pwm: provide a common function to setup a single led-pwm device Provide a common function to setup a single led-pwm device, replacing the platform data initialisation path with this function. This allows us to have a common method of creating these devices in a consistent manner, which then allows us to place the probe failure cleanup in one place. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Bryan Wu <cooloney@gmail.com>