diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-04-29 19:17:32 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-29 21:28:15 -0400 |
commit | 8e1274a34cc68c0f362c1f3bf2bd27cdf3d51719 (patch) | |
tree | a6c4862fd490729d2d7d1ec9464cb9aa2056b590 /drivers/video/backlight | |
parent | b2dcd7be0b4cd1d226d014cbafea209f41cc70d2 (diff) |
drivers/video/backlight/omap1_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/backlight')
-rw-r--r-- | drivers/video/backlight/omap1_bl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/video/backlight/omap1_bl.c b/drivers/video/backlight/omap1_bl.c index 627110163067..0aed176cd6a0 100644 --- a/drivers/video/backlight/omap1_bl.c +++ b/drivers/video/backlight/omap1_bl.c | |||
@@ -18,8 +18,6 @@ | |||
18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
19 | */ | 19 | */ |
20 | 20 | ||
21 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
22 | |||
23 | #include <linux/module.h> | 21 | #include <linux/module.h> |
24 | #include <linux/kernel.h> | 22 | #include <linux/kernel.h> |
25 | #include <linux/init.h> | 23 | #include <linux/init.h> |
@@ -170,7 +168,7 @@ static int omapbl_probe(struct platform_device *pdev) | |||
170 | dev->props.brightness = pdata->default_intensity; | 168 | dev->props.brightness = pdata->default_intensity; |
171 | omapbl_update_status(dev); | 169 | omapbl_update_status(dev); |
172 | 170 | ||
173 | pr_info("OMAP LCD backlight initialised\n"); | 171 | dev_info(&pdev->dev, "OMAP LCD backlight initialised\n"); |
174 | 172 | ||
175 | return 0; | 173 | return 0; |
176 | } | 174 | } |