mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-17 09:43:59 +08:00
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>
This commit is contained in:
parent
b2dcd7be0b
commit
8e1274a34c
@ -18,8 +18,6 @@
|
|||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* 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/module.h>
|
||||||
#include <linux/kernel.h>
|
#include <linux/kernel.h>
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
@ -170,7 +168,7 @@ static int omapbl_probe(struct platform_device *pdev)
|
|||||||
dev->props.brightness = pdata->default_intensity;
|
dev->props.brightness = pdata->default_intensity;
|
||||||
omapbl_update_status(dev);
|
omapbl_update_status(dev);
|
||||||
|
|
||||||
pr_info("OMAP LCD backlight initialised\n");
|
dev_info(&pdev->dev, "OMAP LCD backlight initialised\n");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user