diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-11-25 06:27:35 +0100 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2012-11-27 23:49:25 +0100 |
commit | d23e7b8b61d012e8a86097c5c6f411ede04ca955 (patch) | |
tree | d6c6103dcefaab3231d47a2c38f29bc463f23c01 /drivers/leds/led-class.c | |
parent | leds: leds-ns2: use devm_gpio_request_one (diff) | |
download | linux-d23e7b8b61d012e8a86097c5c6f411ede04ca955.tar.xz linux-d23e7b8b61d012e8a86097c5c6f411ede04ca955.zip |
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) 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; |