Axel Lin
d8cc667be8
leds: leds-pwm: return proper error if pwm_request failed
...
Return PTR_ERR(led_dat->pwm) instead of 0 if pwm_request failed
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Luotao Fu <l.fu@pengutronix.de>
Cc: Reviewed-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-01-26 10:49:58 +10:00
..
2010-03-30 22:02:32 +09:00
2010-12-02 14:51:15 -08:00
2010-12-22 19:43:34 -08:00
2008-04-24 23:37:42 +01:00
2010-11-12 07:55:32 -08:00
2010-10-29 00:29:44 +02:00
2010-03-30 22:02:32 +09:00
2009-12-16 11:30:09 +00:00
2009-10-20 09:40:47 -07:00
2010-03-30 22:02:32 +09:00
2010-08-05 13:53:35 -07:00
2009-09-26 10:50:47 -07:00
2009-12-17 11:38:31 +00:00
2009-12-17 11:16:23 +00:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-12-05 16:58:40 +01:00
2010-11-12 07:55:32 -08:00
2009-05-18 16:25:40 +01:00
2009-01-08 17:55:03 +00:00
2009-11-27 21:07:19 +01:00
2010-06-03 11:33:58 +02:00
2011-01-13 08:03:06 -08:00
2011-01-13 08:03:05 -08:00
2010-03-30 22:02:32 +09:00
2010-05-26 13:07:56 +01:00
2009-01-08 17:55:03 +00:00
2010-11-05 09:51:56 -07:00
2010-10-07 14:02:12 -04:00
2010-10-07 14:00:23 -04:00
2010-06-03 11:33:58 +02:00
2011-01-13 08:03:05 -08:00
2011-01-26 10:49:58 +10:00
2009-04-06 16:06:26 +01:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-11-25 06:50:33 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-12-24 15:59:07 +01:00
2009-01-08 17:55:03 +00:00
2009-04-06 16:06:25 +01:00
2011-01-13 08:03:06 -08:00
2009-04-06 16:06:25 +01:00
2011-01-20 17:02:06 -08:00
2010-03-30 22:02:32 +09:00
2009-04-06 16:06:25 +01:00
2010-11-12 07:55:32 -08:00
2010-11-12 07:55:32 -08:00