]> rtime.felk.cvut.cz Git - vajnamar/linux-xlnx.git/commit
leds: Use log level warn instead of info when telling about a name clash
authorSakari Ailus <sakari.ailus@iki.fi>
Thu, 26 Mar 2015 23:42:05 +0000 (16:42 -0700)
committerBryan Wu <cooloney@gmail.com>
Mon, 30 Mar 2015 21:26:25 +0000 (14:26 -0700)
commit6f06c7f87cf54fa0fa6f95963d7c0d436eb56f43
tree6e523bc5cc372257a17a8d7e5f753c6296c016b6
parenta96aa64cb5723d941de879a9cd1fea025d6acb1b
leds: Use log level warn instead of info when telling about a name clash

The LED names are expected to be unique in the system. Use KERN_WARNING log
level to notify the user about the matter.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
drivers/leds/led-class.c