aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/s3c2410fb.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2012-09-10 06:55:12 -0400
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-09-22 17:37:56 -0400
commit42affc2de4d96634ba05b4e99313028e878a004c (patch)
treeb6ccf1600e4d1b0a57c9099a59927dc6fda53182 /drivers/video/s3c2410fb.c
parent81c1655811e941af24c212c0ac5c27931f91af3b (diff)
video: s3c2410: fix checkpatch warnings
This patch fixes the checkpatch warnings listed below: WARNING: usleep_range should not use min == max args; see Documentation/timers/timers-howto.txt WARNING: quoted string split across lines Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/s3c2410fb.c')
-rw-r--r--drivers/video/s3c2410fb.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/video/s3c2410fb.c b/drivers/video/s3c2410fb.c
index 1aa37eab21e2..1083bb9469ee 100644
--- a/drivers/video/s3c2410fb.c
+++ b/drivers/video/s3c2410fb.c
@@ -935,7 +935,7 @@ static int __devinit s3c24xxfb_probe(struct platform_device *pdev,
935 clk_enable(info->clk); 935 clk_enable(info->clk);
936 dprintk("got and enabled clock\n"); 936 dprintk("got and enabled clock\n");
937 937
938 usleep_range(1000, 1000); 938 usleep_range(1000, 1100);
939 939
940 info->clk_rate = clk_get_rate(info->clk); 940 info->clk_rate = clk_get_rate(info->clk);
941 941
@@ -1034,7 +1034,7 @@ static int __devexit s3c2410fb_remove(struct platform_device *pdev)
1034 s3c2410fb_cpufreq_deregister(info); 1034 s3c2410fb_cpufreq_deregister(info);
1035 1035
1036 s3c2410fb_lcd_enable(info, 0); 1036 s3c2410fb_lcd_enable(info, 0);
1037 usleep_range(1000, 1000); 1037 usleep_range(1000, 1100);
1038 1038
1039 s3c2410fb_unmap_video_memory(fbinfo); 1039 s3c2410fb_unmap_video_memory(fbinfo);
1040 1040
@@ -1071,7 +1071,7 @@ static int s3c2410fb_suspend(struct platform_device *dev, pm_message_t state)
1071 * the LCD DMA engine is not going to get back on the bus 1071 * the LCD DMA engine is not going to get back on the bus
1072 * before the clock goes off again (bjd) */ 1072 * before the clock goes off again (bjd) */
1073 1073
1074 usleep_range(1000, 1000); 1074 usleep_range(1000, 1100);
1075 clk_disable(info->clk); 1075 clk_disable(info->clk);
1076 1076
1077 return 0; 1077 return 0;
@@ -1083,7 +1083,7 @@ static int s3c2410fb_resume(struct platform_device *dev)
1083 struct s3c2410fb_info *info = fbinfo->par; 1083 struct s3c2410fb_info *info = fbinfo->par;
1084 1084
1085 clk_enable(info->clk); 1085 clk_enable(info->clk);
1086 usleep_range(1000, 1000); 1086 usleep_range(1000, 1100);
1087 1087
1088 s3c2410fb_init_registers(fbinfo); 1088 s3c2410fb_init_registers(fbinfo);
1089 1089
@@ -1140,8 +1140,8 @@ static void __exit s3c2410fb_cleanup(void)
1140module_init(s3c2410fb_init); 1140module_init(s3c2410fb_init);
1141module_exit(s3c2410fb_cleanup); 1141module_exit(s3c2410fb_cleanup);
1142 1142
1143MODULE_AUTHOR("Arnaud Patard <arnaud.patard@rtp-net.org>, " 1143MODULE_AUTHOR("Arnaud Patard <arnaud.patard@rtp-net.org>");
1144 "Ben Dooks <ben-linux@fluff.org>"); 1144MODULE_AUTHOR("Ben Dooks <ben-linux@fluff.org>");
1145MODULE_DESCRIPTION("Framebuffer driver for the s3c2410"); 1145MODULE_DESCRIPTION("Framebuffer driver for the s3c2410");
1146MODULE_LICENSE("GPL"); 1146MODULE_LICENSE("GPL");
1147MODULE_ALIAS("platform:s3c2410-lcd"); 1147MODULE_ALIAS("platform:s3c2410-lcd");