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: 11284 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 1A17D23EFF for ; Mon, 10 Sep 2012 10:55:16 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id B623EA19255 for ; Mon, 10 Sep 2012 10:55:15 +0000 (UTC) Received: by iafj25 with SMTP id j25so1660071iaf.11 for ; Mon, 10 Sep 2012 03:55:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:x-auditid :from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language :x-brightmail-tracker:x-gm-message-state; bh=zRFYjbUdIbC6gd7U+uVzLR3a/qPWvbspigQYpSe96/w=; b=iKErftR4HtIFlSp7ajpArhirTKi4k3B2YBShbAuQuWaxQQOCJZ15Yr8IlJwEehKW8I S9hmwe+CCG7vRPwk2LZ83NrJB75p9+aNHJ/kI1W+HGOUNcnE9vn7ucycWa02PsOOPJXd 92eHkNI8AMQ8oxCaoFlwBQYYYoU/Bke31WNTPnNVnWfV4uXGCioySxuzWyfYrBWEP/Zc BmS9XRgsjMt1NPP8FakJn8oUf6LzT2EaM7lmYk1yw7QvIs74/5rujFCqnrC6LFhUOoos MvDTBBPOR30WxkvD67vERxOMh1cSXdXHPBOV9YGxP2auXumGhI6zUIPbnCrmOD+scSAh 7D7w== Received: by 10.50.7.212 with SMTP id l20mr10253234iga.43.1347274515134; Mon, 10 Sep 2012 03:55:15 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp85425igc; Mon, 10 Sep 2012 03:55:14 -0700 (PDT) Received: by 10.68.233.230 with SMTP id tz6mr5685978pbc.42.1347274513959; Mon, 10 Sep 2012 03:55:13 -0700 (PDT) Received: from mailout3.samsung.com (mailout3.samsung.com. [203.254.224.33]) by mx.google.com with ESMTP id vz2si4148110pbc.123.2012.09.10.03.55.13; Mon, 10 Sep 2012 03:55:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of jg1.han@samsung.com designates 203.254.224.33 as permitted sender) client-ip=203.254.224.33; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of jg1.han@samsung.com designates 203.254.224.33 as permitted sender) smtp.mail=jg1.han@samsung.com Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MA4006K0RNIN6Z0@mailout3.samsung.com>; Mon, 10 Sep 2012 19:55:12 +0900 (KST) X-AuditID: cbfee61b-b7f586d000007adc-21-504dc7104e00 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 79.44.31452.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>; 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+NgFtrJLMWRmVeSWpSXmKPExsVy+t9jQV2B474BBkfXSVtMOfyFxeLkn15G ByaPO9f2sAUwRnHZpKTmZJalFunbJXBlfOvdwVZwSqBi78p9jA2M/3i7GDk5JARMJHYvmMgI YYtJXLi3nq2LkYtDSGA6o8T+mV9ZIZxfjBJX1m9mBaliE1CT+PLlMHsXIweHiICVxKatmiBh ZoFmRom560JBbGEBG4llMxYxgdgsAqoSM6cvZQEp5xWwlbjY6goS5hUQlPgx+R4LRKuWxPqd x5kgbHmJzWveMoOUSwioSzz6qwsSFhHQk2i5vJodokREYt+Ld4wTGAVmIZk0C8mkWUgmzULS soCRZRWjaGpBckFxUnqukV5xYm5xaV66XnJ+7iZGcIA+k97BuKrB4hCjAAejEg9vh4lvgBBr YllxZe4hRgkOZiUR3j97gUK8KYmVValF+fFFpTmpxYcYpTlYlMR5nc7ZBQgJpCeWpGanphak FsFkmTg4pRoYl27/4bzv8lup5awz2+y4Tys9KV7tc7TOQynMKcgrqWOuFpO8Yd/5U6lrfmZ1 O3/hE71npryHbfWGxaoFcsIcE823ZpyM5xaw22F5vnR7iIeMYY7k9zu/9j/xXl3Br6l1LO5N R8SnX7tZ5it031jVzMa/oela5qfJKbqusWwf/u9dGnDZJN9EiaU4I9FQi7moOBEAPV6bKkwC AAA= X-Gm-Message-State: ALoCoQmyk0hWSIdeCNvhsOaAoRHEdcAX9sxkm+ERc48ziebdYeclakCalPxezlo0r5M+tVW+7BN6 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");