diff options
author | Vincent Sanders <vince@simtec.co.uk> | 2009-12-06 17:06:26 +0100 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-12-06 17:06:26 +0100 |
commit | 9669f54194b4df34c96478d696d9ba2b977545f5 (patch) | |
tree | 395bf1b080dedf018c12d69398853878f882d0d5 /drivers/i2c/busses/i2c-i801.c | |
parent | ics932s401: Clean up detect function (diff) | |
download | linux-9669f54194b4df34c96478d696d9ba2b977545f5.tar.xz linux-9669f54194b4df34c96478d696d9ba2b977545f5.zip |
i2c: Remove big kernel lock from i2cdev_open
The BKL is held over a kmalloc so cannot protect anything beyond that.
The two calls before the kmalloc have their own locking.
Improve device open function by removing the now unnecessary ret variable
Signed-off-by: Vincent Sanders <vince@simtec.co.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions