Skip to content

Commit a7e63bb

Browse files
committed
drivers: Remove BKL from cs5535_gpio
The big BKL pushdown added cycle_kernel_lock(). There is nothing to wait for in this driver. Remove it. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> LKML-Reference: <20091010153349.277882707@linutronix.de>
1 parent 40b798e commit a7e63bb

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎drivers/char/cs5535_gpio.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include <linux/cdev.h>
1818
#include <linux/ioport.h>
1919
#include <linux/pci.h>
20-
#include <linux/smp_lock.h>
20+
2121
#include <asm/uaccess.h>
2222
#include <asm/io.h>
2323

@@ -158,7 +158,6 @@ static int cs5535_gpio_open(struct inode *inode, struct file *file)
158158
{
159159
u32 m = iminor(inode);
160160

161-
cycle_kernel_lock();
162161
/* the mask says which pins are usable by this driver */
163162
if ((mask & (1 << m)) == 0)
164163
return -EINVAL;

0 commit comments

Comments
 (0)