diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-09 11:07:38 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-09 11:07:38 -0500 |
commit | 18821b0408efc92ec2804128ba9382a3bcebf132 (patch) | |
tree | f98fbf75e8e8f33965e489879505fb621e2f11bb /drivers/spi | |
parent | 3b8ecd22447c4266500c0bcf97f035310543e494 (diff) | |
parent | 55e858c8483af427144f33b42b818b30612b82b0 (diff) |
Merge branch 'bkl-drivers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'bkl-drivers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
agp: Remove the BKL from agp_open
inifiband: Remove BKL from ipath_open()
mips: Remove BKL from tb0219
drivers: Remove BKL from scx200_gpio
drivers: Remove BKL from pc8736x_gpio
parisc: Remove BKL from eisa_eeprom
rtc: Remove BKL from efirtc
input: Remove BKL from hp_sdc_rtc
hw_random: Remove BKL from core
macintosh: Remove BKL from ans-lcd
nvram: Drop the bkl from non-generic nvram_llseek()
nvram: Drop the bkl from nvram_llseek()
mem_class: Drop the bkl from memory_open()
spi: Remove BKL from spidev_open
drivers: Remove BKL from cs5535_gpio
drivers: Remove BKL from misc_open
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spidev.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 5d23983f02fc..815a65012cbf 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c | |||
@@ -30,7 +30,6 @@ | |||
30 | #include <linux/errno.h> | 30 | #include <linux/errno.h> |
31 | #include <linux/mutex.h> | 31 | #include <linux/mutex.h> |
32 | #include <linux/slab.h> | 32 | #include <linux/slab.h> |
33 | #include <linux/smp_lock.h> | ||
34 | 33 | ||
35 | #include <linux/spi/spi.h> | 34 | #include <linux/spi/spi.h> |
36 | #include <linux/spi/spidev.h> | 35 | #include <linux/spi/spidev.h> |
@@ -477,7 +476,6 @@ static int spidev_open(struct inode *inode, struct file *filp) | |||
477 | struct spidev_data *spidev; | 476 | struct spidev_data *spidev; |
478 | int status = -ENXIO; | 477 | int status = -ENXIO; |
479 | 478 | ||
480 | lock_kernel(); | ||
481 | mutex_lock(&device_list_lock); | 479 | mutex_lock(&device_list_lock); |
482 | 480 | ||
483 | list_for_each_entry(spidev, &device_list, device_entry) { | 481 | list_for_each_entry(spidev, &device_list, device_entry) { |
@@ -503,7 +501,6 @@ static int spidev_open(struct inode *inode, struct file *filp) | |||
503 | pr_debug("spidev: nothing for minor %d\n", iminor(inode)); | 501 | pr_debug("spidev: nothing for minor %d\n", iminor(inode)); |
504 | 502 | ||
505 | mutex_unlock(&device_list_lock); | 503 | mutex_unlock(&device_list_lock); |
506 | unlock_kernel(); | ||
507 | return status; | 504 | return status; |
508 | } | 505 | } |
509 | 506 | ||