diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-11-25 00:27:35 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2012-11-27 17:49:25 -0500 |
commit | d23e7b8b61d012e8a86097c5c6f411ede04ca955 (patch) | |
tree | d6c6103dcefaab3231d47a2c38f29bc463f23c01 /drivers/leds/led-class.c | |
parent | 04195823aa16d648cd7f52abd2ea6df1b9aee53f (diff) |
leds: led-class: Fix checkpatch warning
Fixes the following checkpatch warning:
WARNING: Prefer netdev_dbg(netdev, ... then dev_dbg(dev, ... then pr_debug(... to printk(KERN_DEBUG ...
FILE: leds/led-class.c:214:
printk(KERN_DEBUG "Registered led device: %s\n",
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds/led-class.c')
-rw-r--r-- | drivers/leds/led-class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/led-class.c b/drivers/leds/led-class.c index 48cce18e9d6d..a20752f562bc 100644 --- a/drivers/leds/led-class.c +++ b/drivers/leds/led-class.c | |||
@@ -211,7 +211,7 @@ int led_classdev_register(struct device *parent, struct led_classdev *led_cdev) | |||
211 | led_trigger_set_default(led_cdev); | 211 | led_trigger_set_default(led_cdev); |
212 | #endif | 212 | #endif |
213 | 213 | ||
214 | printk(KERN_DEBUG "Registered led device: %s\n", | 214 | dev_dbg(parent, "Registered led device: %s\n", |
215 | led_cdev->name); | 215 | led_cdev->name); |
216 | 216 | ||
217 | return 0; | 217 | return 0; |