From patchwork Mon Sep 10 10:55:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 1431681 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 062E94025E for ; Mon, 10 Sep 2012 10:55:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757079Ab2IJKzO (ORCPT ); Mon, 10 Sep 2012 06:55:14 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:59825 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757045Ab2IJKzN (ORCPT ); Mon, 10 Sep 2012 06:55:13 -0400 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MA4006MJRNVJMD0@mailout1.samsung.com> for linux-fbdev@vger.kernel.org; Mon, 10 Sep 2012 19:55:12 +0900 (KST) X-AuditID: cbfee61a-b7fba6d000007d5f-30-504dc710c627 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id CC.18.32095.017CD405; Mon, 10 Sep 2012 19:55:12 +0900 (KST) Received: from DOJG1HAN02 ([12.23.119.56]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MA40022VRO0LS70@mmp2.samsung.com> for linux-fbdev@vger.kernel.org; Mon, 10 Sep 2012 19:55:12 +0900 (KST) From: Jingoo Han To: 'Florian Tobias Schandinat' Cc: linux-fbdev@vger.kernel.org, 'Sachin Kamat' , patches@linaro.org, 'Jingoo Han' Subject: [PATCH 2/2] video: s3c2410: fix checkpatch warnings Date: Mon, 10 Sep 2012 19:55:12 +0900 Message-id: <002d01cd8f42$c06b6690$414233b0$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac2PQsBaYMS07wXnT9e5uDugpGZILA== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrILMWRmVeSWpSXmKPExsVy+t9jQV2B474BBg/eSluc6PvA6sDo8XmT XABjFJdNSmpOZllqkb5dAlfGt94dbAWnBCr2rtzH2MD4j7eLkYNDQsBE4kqreRcjJ5ApJnHh 3nq2LkYuDiGB6YwS3WveMIMkhARmMUk8n+ENYrMJqEl8+XKYHaRXRMBKYtNWTZAws0Azo8Tc daEgtrCAjcSyGYuYQGwWAVWJmdOXsoCU8wrYSlxsdQUJ8woISvyYfI8FolVLYv3O40wQtrzE 5jVvmSEuU5d49FcXJCwioCfRcnk1O0SJiMS+F+8YJzAKzEIyaRaSSbOQTJqFpGUBI8sqRtHU guSC4qT0XEO94sTc4tK8dL3k/NxNjOCAfCa1g3Flg8UhRgEORiUe3odmvgFCrIllxZW5hxgl OJiVRHj/7AUK8aYkVlalFuXHF5XmpBYfYpTmYFES53U6ZxcgJJCeWJKanZpakFoEk2Xi4JRq YMziairuV1r1YmFu95oERwvRlN0XufLnfFbO5b1Xnh2u4h5VPWlBoeaZAMl5kssXHF33aPaM pmMSH4LeHdrEoCX7tjT40OueyrRjigIv+sMfef2usktIXP+Rp/TJZr7NHst1qwXvtaun3Z4r +j/t1hRTwbdG5+M8rcuVblaxGxqVbI3j6/hjpsRSnJFoqMVcVJwIAJY9ElFEAgAA Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org 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 --- drivers/video/s3c2410fb.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/video/s3c2410fb.c b/drivers/video/s3c2410fb.c index 1aa37ea..1083bb9 100644 --- a/drivers/video/s3c2410fb.c +++ b/drivers/video/s3c2410fb.c @@ -935,7 +935,7 @@ static int __devinit s3c24xxfb_probe(struct platform_device *pdev, clk_enable(info->clk); dprintk("got and enabled clock\n"); - usleep_range(1000, 1000); + usleep_range(1000, 1100); info->clk_rate = clk_get_rate(info->clk); @@ -1034,7 +1034,7 @@ static int __devexit s3c2410fb_remove(struct platform_device *pdev) s3c2410fb_cpufreq_deregister(info); s3c2410fb_lcd_enable(info, 0); - usleep_range(1000, 1000); + usleep_range(1000, 1100); s3c2410fb_unmap_video_memory(fbinfo); @@ -1071,7 +1071,7 @@ static int s3c2410fb_suspend(struct platform_device *dev, pm_message_t state) * the LCD DMA engine is not going to get back on the bus * before the clock goes off again (bjd) */ - usleep_range(1000, 1000); + usleep_range(1000, 1100); clk_disable(info->clk); return 0; @@ -1083,7 +1083,7 @@ static int s3c2410fb_resume(struct platform_device *dev) struct s3c2410fb_info *info = fbinfo->par; clk_enable(info->clk); - usleep_range(1000, 1000); + usleep_range(1000, 1100); s3c2410fb_init_registers(fbinfo); @@ -1140,8 +1140,8 @@ static void __exit s3c2410fb_cleanup(void) module_init(s3c2410fb_init); module_exit(s3c2410fb_cleanup); -MODULE_AUTHOR("Arnaud Patard , " - "Ben Dooks "); +MODULE_AUTHOR("Arnaud Patard "); +MODULE_AUTHOR("Ben Dooks "); MODULE_DESCRIPTION("Framebuffer driver for the s3c2410"); MODULE_LICENSE("GPL"); MODULE_ALIAS("platform:s3c2410-lcd");