From mboxrd@z Thu Jan 1 00:00:00 1970 From: Parmeshwr Prasad Date: Fri, 13 Feb 2015 13:28:10 +0000 Subject: Re: [PATCH 2/2]Trivial patch: to solve indentation warnings in amba-clcd.c driver Message-Id: <20150213132805.GA1296@linuxteamdev.amer.dell.com> List-Id: References: <20150213112125.GA25078@linuxteamdev.amer.dell.com> <20150213113515.GW8656@n2100.arm.linux.org.uk> <1423828796.2795.7.camel@perches.com> In-Reply-To: <1423828796.2795.7.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Joe Perches Cc: Russell King - ARM Linux , "plagnioj@jcrosoft.com" , "tomi.valkeinen@ti.com" , "trivial@kernel.org" , "linux-fbdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" This is second patch in series. In driver in_atomic we should not use to check if code is unning in IRQ. clcdfb_sleep() function is used to give some delay between operation. I have used schedule_timeout() function for same amount of delay. Please review the same. Patch 1/2 I will fix comments and re-submitt. >From 06b275e44a3951ec0a57af59aea2a4c82595e456 Mon Sep 17 00:00:00 2001 From: Parmeshwr Prasad Date: Fri, 13 Feb 2015 06:10:34 -0500 Subject: [PATCH 2/2] Patch to replace in_atomic with proper function from amba-clcd.c driver. In driver code in_atomic should not be used to check the IRQ or kernel context. to remove that I have used schedule_timeout() with respective delay. In this patch I have also removed printk() with respective pr_* functions Signed-off-by: Parmeshwr Prasad --- drivers/video/fbdev/amba-clcd.c | 48 +++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 26 deletions(-) diff --git a/drivers/video/fbdev/amba-clcd.c b/drivers/video/fbdev/amba-clcd.c index 0ddc1f0..7e630f5c 100644 --- a/drivers/video/fbdev/amba-clcd.c +++ b/drivers/video/fbdev/amba-clcd.c @@ -33,8 +33,9 @@ #include