aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/imxfb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/imxfb.c')
-rw-r--r--drivers/video/imxfb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/imxfb.c b/drivers/video/imxfb.c
index 11609552a387..94e4d3ac1a05 100644
--- a/drivers/video/imxfb.c
+++ b/drivers/video/imxfb.c
@@ -415,7 +415,7 @@ static void imxfb_setup_gpio(struct imxfb_info *fbi)
415static int imxfb_suspend(struct platform_device *dev, pm_message_t state) 415static int imxfb_suspend(struct platform_device *dev, pm_message_t state)
416{ 416{
417 struct imxfb_info *fbi = platform_get_drvdata(dev); 417 struct imxfb_info *fbi = platform_get_drvdata(dev);
418 pr_debug("%s\n",__FUNCTION__); 418 pr_debug("%s\n",__func__);
419 419
420 imxfb_disable_controller(fbi); 420 imxfb_disable_controller(fbi);
421 return 0; 421 return 0;
@@ -424,7 +424,7 @@ static int imxfb_suspend(struct platform_device *dev, pm_message_t state)
424static int imxfb_resume(struct platform_device *dev) 424static int imxfb_resume(struct platform_device *dev)
425{ 425{
426 struct imxfb_info *fbi = platform_get_drvdata(dev); 426 struct imxfb_info *fbi = platform_get_drvdata(dev);
427 pr_debug("%s\n",__FUNCTION__); 427 pr_debug("%s\n",__func__);
428 428
429 imxfb_enable_controller(fbi); 429 imxfb_enable_controller(fbi);
430 return 0; 430 return 0;
@@ -440,7 +440,7 @@ static int __init imxfb_init_fbinfo(struct device *dev)
440 struct fb_info *info = dev_get_drvdata(dev); 440 struct fb_info *info = dev_get_drvdata(dev);
441 struct imxfb_info *fbi = info->par; 441 struct imxfb_info *fbi = info->par;
442 442
443 pr_debug("%s\n",__FUNCTION__); 443 pr_debug("%s\n",__func__);
444 444
445 info->pseudo_palette = kmalloc( sizeof(u32) * 16, GFP_KERNEL); 445 info->pseudo_palette = kmalloc( sizeof(u32) * 16, GFP_KERNEL);
446 if (!info->pseudo_palette) 446 if (!info->pseudo_palette)