From: Russell King Date: Sun, 6 Apr 2014 22:20:08 +0000 (-0700) Subject: leds: leds-pwm: provide a common function to setup a single led-pwm device X-Git-Tag: omap-for-v3.16/fixes-against-rc1~40^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f7b03dc2ab5f4ca16e5d6bc3e6dcd2953c6fede;p=pandora-kernel.git 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 Signed-off-by: Bryan Wu --- Reading git-diff-tree failed