From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761907AbZJJPhi (ORCPT ); Sat, 10 Oct 2009 11:37:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932406AbZJJPhg (ORCPT ); Sat, 10 Oct 2009 11:37:36 -0400 Received: from www.tglx.de ([62.245.132.106]:55328 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761710AbZJJPhd (ORCPT ); Sat, 10 Oct 2009 11:37:33 -0400 Message-Id: <20091010153349.277882707@linutronix.de> User-Agent: quilt/0.47-1 Date: Sat, 10 Oct 2009 15:35:48 -0000 From: Thomas Gleixner To: LKML Cc: Andrew Morton , Ingo Molnar , Peter Zijlstra , Frederic Weisbecker , Vincent Sanders , John Kacur , Jonathan Corbet , Christoph Hellwig Subject: [patch 06/28] drivers: Remove BKL from cs5535_gpio References: <20091010153314.827301943@linutronix.de> Content-Disposition: inline; filename=drivers-char-cs5535-gpio-remove-BKL.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The big BKL pushdown added cycle_kernel_lock(). There is nothing to wait for in this driver. Remove it. Signed-off-by: Thomas Gleixner --- drivers/char/cs5535_gpio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Index: linux-2.6-tip/drivers/char/cs5535_gpio.c =================================================================== --- linux-2.6-tip.orig/drivers/char/cs5535_gpio.c +++ linux-2.6-tip/drivers/char/cs5535_gpio.c @@ -17,7 +17,7 @@ #include #include #include -#include + #include #include @@ -158,7 +158,6 @@ static int cs5535_gpio_open(struct inode { u32 m = iminor(inode); - cycle_kernel_lock(); /* the mask says which pins are usable by this driver */ if ((mask & (1 << m)) == 0) return -EINVAL;