diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-04-29 16:17:33 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-29 18:28:15 -0700 |
commit | 8ab5aa67f17dc5e18c446664b0105c45a41fec74 (patch) | |
tree | ed67d94d4f4735591f5cb07e83a0a6498609644b /drivers/video | |
parent | 8e1274a34cc68c0f362c1f3bf2bd27cdf3d51719 (diff) | |
download | talos-op-linux-8ab5aa67f17dc5e18c446664b0105c45a41fec74.tar.gz talos-op-linux-8ab5aa67f17dc5e18c446664b0105c45a41fec74.zip |
drivers/video/backlight/generic_bl.c: use dev_info() instead of pr_info()
dev_info() is preferred to pr_info().
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/backlight/generic_bl.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/video/backlight/generic_bl.c b/drivers/video/backlight/generic_bl.c index 0ae155be9c89..19e393b41438 100644 --- a/drivers/video/backlight/generic_bl.c +++ b/drivers/video/backlight/generic_bl.c @@ -9,8 +9,6 @@ * */ -#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt - #include <linux/module.h> #include <linux/kernel.h> #include <linux/init.h> @@ -108,7 +106,7 @@ static int genericbl_probe(struct platform_device *pdev) generic_backlight_device = bd; - pr_info("Generic Backlight Driver Initialized.\n"); + dev_info(&pdev->dev, "Generic Backlight Driver Initialized.\n"); return 0; } @@ -122,7 +120,7 @@ static int genericbl_remove(struct platform_device *pdev) backlight_device_unregister(bd); - pr_info("Generic Backlight Driver Unloaded\n"); + dev_info(&pdev->dev, "Generic Backlight Driver Unloaded\n"); return 0; } |