commit | 00381eeb47ef6b3b70d2a17c89a8205b6f1aa00a | [log] [tgz] |
---|---|---|
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | Mon Dec 16 10:54:13 2013 +0100 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Mon Dec 16 14:38:02 2013 +0100 |
tree | a801b13badc66a26abae11f4ee48823e62f076e0 | |
parent | 74bd0d859dc3536b01c892abfa9f87620e4bca2f [diff] |
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 <oberpar@linux.vnet.ibm.com> Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>