Arun Murthy
61a83932b8
leds-lp5521: modify the way of setting led device name
...
Currently the led device name is fetched from the device_type in
I2C_BOARD_INFO which comes from the platform data. This name is in turn
used to create an entry in sysfs.
If there exists two or more lp5521 on a particular platform, the
device_type in I2C_BOARD_INFO has to be the same, else lp5521 driver probe
wont be called and if used so, results in run time warning "cannot create
sysfs with same name" and hence a failure.
The name that is used to create sysfs entry is to be passed by the struct
led_platform_data. Hence adding an element of type const char * and
change in lp5521 driver to use this name in creating the led device if
present else use the name obtained by I2C_BOARD_INFO.
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com >
Acked-by: Samu Onkalo <samu.p.onkalo@nokia.com >
Cc: Ilkka Koskinen <ilkka.koskinen@nokia.com >
Cc: Richard Purdie <rpurdie@rpsys.net >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2011-01-13 08:03:06 -08:00
..
2011-01-06 22:32:52 +00:00
2010-06-20 19:46:07 -07:00
2010-12-17 09:54:40 -08:00
2010-08-14 22:26:51 +02:00
2011-01-09 09:10:10 -08:00
2011-01-07 14:45:47 -08:00
2010-12-16 12:37:26 -05:00
2011-01-08 23:52:30 -05:00
2011-01-08 23:52:24 -05:00
2011-01-10 20:11:38 +01:00
2011-01-07 17:08:46 -08:00
2011-01-11 15:11:56 -08:00
2011-01-07 13:16:28 -08:00
2010-12-10 15:45:05 -08:00
2009-09-15 09:50:47 -07:00
2011-01-10 08:51:44 -08:00
2010-12-06 15:58:43 -05:00
2010-10-26 16:52:10 -07:00
2010-03-16 19:47:54 +00:00
2008-10-20 08:52:42 -07:00
2011-01-10 13:31:14 -08:00
2011-01-07 17:50:31 +11:00
2010-05-30 09:00:03 -07:00
2010-12-17 08:36:01 +01:00
2010-12-13 16:11:13 -08:00
2010-10-25 21:18:20 -04:00
2009-06-16 19:47:48 -07:00
2010-11-29 08:35:12 +11:00
2009-06-11 21:36:09 -04:00
2011-01-07 17:50:29 +11:00
2010-08-19 17:17:59 -07:00
2011-01-05 14:15:50 +01:00
2010-12-16 16:15:34 -08:00
2008-06-04 14:56:12 +01:00
2008-01-30 13:32:42 +01:00
2010-11-10 16:57:11 -08:00
2011-01-10 07:38:53 -08:00
2010-12-31 10:50:54 -08:00
2011-01-10 08:51:44 -08:00
2010-05-10 16:08:01 -07:00
2011-01-10 16:10:33 -08:00
2009-04-15 12:22:37 +02:00
2011-01-03 01:41:40 -08:00
2007-02-09 17:39:36 -05:00
2011-01-07 23:36:59 -05:00
2008-01-28 23:21:18 +01:00
2010-05-25 08:07:02 -07:00
2009-11-04 09:50:58 -08:00
2011-01-10 16:05:30 -08:00
2010-12-10 15:55:23 -08:00
2010-10-23 09:24:34 +09:00
2011-01-10 19:04:07 +01:00
2009-06-24 08:15:27 -04:00
2010-12-22 12:56:10 +09:00
2010-08-19 17:18:03 -07:00
2011-01-09 15:42:55 -08:00
2010-12-08 10:30:34 -08:00
2010-08-02 10:09:04 +02:00
2011-01-04 08:48:34 +01:00
2011-01-10 08:51:44 -08:00
2005-04-16 15:20:36 -07:00
2010-11-30 17:28:57 -05:00
2009-12-17 10:58:17 -05:00
2011-01-07 17:50:27 +11:00
2011-01-10 08:51:44 -08:00
2011-01-07 17:50:23 +11:00
2011-01-07 17:50:23 +11:00
2006-10-02 07:57:12 -07:00
2011-01-07 17:50:29 +11:00
2006-09-30 01:47:55 +02:00
2011-01-10 22:11:23 +01:00
2009-06-26 10:48:34 +02:00
2011-01-10 07:38:53 -08:00
2011-01-10 22:11:23 +01:00
2010-06-16 18:08:13 +02:00
2011-01-11 23:55:51 +01:00
2011-01-06 11:10:05 -08:00
2011-01-04 11:29:52 -08:00
2008-07-09 12:09:28 -04:00
2010-12-06 12:59:05 -08:00
2011-01-06 10:23:33 -08:00
2010-10-22 10:21:26 -07:00
2009-11-20 00:52:09 -08:00
2011-01-07 14:45:47 -08:00
2010-11-10 10:21:22 +01:00
2007-04-25 22:25:31 -07:00
2009-09-26 10:17:19 -07:00
2011-01-10 12:29:43 -05:00
2011-01-10 08:27:52 -08:00
2007-07-31 15:39:40 -07:00
2010-12-17 15:07:19 +01:00
2010-11-29 08:55:11 +11:00
2010-02-16 16:01:21 -08:00
2010-08-19 17:18:00 -07:00
2009-12-31 19:45:04 +00:00
2010-03-15 15:29:39 +01:00
2010-10-22 10:16:44 -07:00
2011-01-07 17:02:58 -08:00
2010-12-22 10:27:53 +01:00
2011-01-13 08:03:06 -08:00
2011-01-13 08:03:05 -08:00
2011-01-05 19:43:22 -05:00
2009-09-17 23:23:45 -07:00
2007-07-17 10:23:03 -07:00
2011-01-07 17:50:31 +11:00
2009-04-28 07:37:28 +02:00
2010-10-26 16:52:19 -07:00
2011-01-10 19:04:08 +01:00
2010-12-02 14:51:15 -08:00
2010-10-22 10:16:44 -07:00
2009-09-22 07:17:35 -07:00
2010-08-21 00:37:40 -07:00
2009-09-22 07:17:37 -07:00
2010-08-09 20:44:58 -07:00
2005-04-16 15:20:36 -07:00
2010-05-21 17:15:44 -07:00
2009-01-05 08:40:13 +10:30
2010-10-26 16:52:13 -07:00
2011-01-07 17:50:33 +11:00
2009-04-01 07:38:54 -04:00
2006-11-30 04:40:22 +01:00
2010-10-08 17:16:22 -05:00
2011-01-07 17:50:27 +11:00
2011-01-07 17:50:19 +11:00
2011-01-07 17:50:26 +11:00
2011-01-10 16:05:30 -08:00
2011-01-11 14:17:09 -05:00
2011-01-06 14:57:46 -05:00
2011-01-07 17:50:29 +11:00
2011-01-06 16:03:13 -05:00
2010-11-10 16:57:11 -08:00
2011-01-08 21:42:42 -07:00
2009-04-01 08:59:13 -07:00
2011-01-07 17:50:33 +11:00
2011-01-11 11:11:46 -08:00
2009-01-08 08:31:12 -08:00
2011-01-10 07:38:54 -08:00
2011-01-07 17:50:29 +11:00
2006-10-03 23:01:26 +02:00
2009-06-18 13:04:04 -07:00
2009-07-29 19:10:36 -07:00
2009-10-04 03:23:17 +02:00
2007-10-19 20:35:04 +02:00
2008-09-02 19:21:38 -07:00
2011-01-10 19:04:05 +01:00
2010-02-08 18:19:41 -06:00
2010-05-27 09:12:52 -07:00
2010-02-10 17:47:17 -08:00
2011-01-07 17:50:31 +11:00
2011-01-07 17:50:29 +11:00
2010-11-15 13:24:06 -05:00
2010-10-20 13:37:56 -04:00
2006-07-13 13:21:35 -07:00
2010-12-13 22:48:21 +01:00
2010-11-15 11:29:30 -08:00
2011-01-10 08:51:44 -08:00
2009-10-30 08:27:25 +11:00
2011-01-10 09:46:24 +11:00
2010-10-22 10:20:06 -07:00
2010-02-22 15:45:54 -08:00
2011-01-07 17:50:27 +11:00
2008-02-07 08:42:34 -08:00
2011-01-07 17:50:16 +11:00
2011-01-06 11:41:42 -08:00
2011-01-10 12:00:22 -05:00
2005-04-16 15:20:36 -07:00
2010-08-20 09:00:15 -07:00
2010-11-18 14:37:34 +01:00
2010-01-14 22:38:09 -05:00
2009-04-10 15:48:52 +02:00
2005-04-16 15:20:36 -07:00
2010-05-15 23:28:39 -07:00
2010-10-17 01:57:44 +02:00
2010-02-04 14:20:41 +11:00
2010-12-22 19:43:34 -08:00
2010-05-27 09:12:51 -07:00
2010-08-13 16:53:13 -07:00
2010-10-22 14:46:25 +02:00
2009-02-18 15:37:53 -08:00
2010-12-11 12:34:34 +01:00
2011-01-01 13:57:56 -08:00
2011-01-01 13:57:56 -08:00
2010-10-27 18:03:12 -07:00
2011-01-07 20:57:22 -05:00
2008-07-25 10:53:26 -07:00
2010-10-26 16:52:03 -07:00
2005-04-16 15:20:36 -07:00
2011-01-06 13:05:04 +10:00
2010-12-02 14:51:15 -08:00
2010-09-09 18:57:25 -07:00
2006-04-26 12:56:16 +01:00
2010-10-05 11:47:18 -07:00
2011-01-07 16:58:04 -08:00
2010-10-30 09:05:48 -07:00
2007-10-10 16:53:57 -07:00