From: Sebastian Ott Date: Mon, 16 Dec 2013 09:54:13 +0000 (+0100) Subject: s390/cio: use device_lock to synchronize calls to the ccw driver X-Git-Tag: v3.14-rc1~184^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00381eeb47ef6b3b70d2a17c89a8205b6f1aa00a;p=pandora-kernel.git s390/cio: use device_lock to synchronize calls to the ccw driver When calling set_{on,off}line of a ccw device driver we hold the module reference of the owner. This is pretty useless - we don't want to prevent module unloading but driver unbinding. Use the driver core's device_lock instead. Reviewed-by: Peter Oberparleiter Signed-off-by: Sebastian Ott Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed