From: Vincent Sanders Date: Sun, 6 Dec 2009 16:06:26 +0000 (+0100) Subject: i2c: Remove big kernel lock from i2cdev_open X-Git-Tag: v2.6.33-rc1~385^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9669f54194b4df34c96478d696d9ba2b977545f5;p=pandora-kernel.git 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 Signed-off-by: Thomas Gleixner Signed-off-by: Jean Delvare --- Reading git-diff-tree failed