diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-11-25 10:57:35 +0530 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2012-11-27 14:49:25 -0800 |
commit | d23e7b8b61d012e8a86097c5c6f411ede04ca955 (patch) | |
tree | d6c6103dcefaab3231d47a2c38f29bc463f23c01 | |
parent | 04195823aa16d648cd7f52abd2ea6df1b9aee53f (diff) | |
download | linux-d23e7b8b61d012e8a86097c5c6f411ede04ca955.tar.bz2 |
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>
-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) led_trigger_set_default(led_cdev); #endif - printk(KERN_DEBUG "Registered led device: %s\n", + dev_dbg(parent, "Registered led device: %s\n", led_cdev->name); return 0; |