]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/video/backlight/omap1_bl.c: use dev_info() instead of pr_info()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:07:37 +0000 (15:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:33:59 +0000 (16:33 +1100)
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>
drivers/video/backlight/omap1_bl.c

index 627110163067f85c3aa27c5aec66947e28789806..0aed176cd6a0c79617a5c1d303cb713c17c8d36c 100644 (file)
@@ -18,8 +18,6 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
-
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
@@ -170,7 +168,7 @@ static int omapbl_probe(struct platform_device *pdev)
        dev->props.brightness = pdata->default_intensity;
        omapbl_update_status(dev);
 
-       pr_info("OMAP LCD backlight initialised\n");
+       dev_info(&pdev->dev, "OMAP LCD backlight initialised\n");
 
        return 0;
 }