diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-28 05:15:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 11:58:42 -0400 |
commit | 5ae121705bed9ea7425daef4d7d29038f7312f3f (patch) | |
tree | fa1527459b056ad59acfbf1fa59c5a8880f6ac22 /drivers/video/imxfb.c | |
parent | e7a05aa9e697ff6fc165d45671cdcca601942f62 (diff) |
video: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: Antonino Daplas <adaplas@gmail.com>
Cc: Antonino A. Daplas <adaplas@gmail.com>
Cc: Antonino Daplas <adaplas@pol.net>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Adrian Bunk <bunk@stusta.de>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/imxfb.c')
-rw-r--r-- | drivers/video/imxfb.c | 6 |
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) | |||
415 | static int imxfb_suspend(struct platform_device *dev, pm_message_t state) | 415 | static 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) | |||
424 | static int imxfb_resume(struct platform_device *dev) | 424 | static 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) |