commit | d5b877ffb9aa04a6fb6b6eae6dc19ca163d568a8 | [log] [tgz] |
---|---|---|
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | Mon Dec 16 10:56:46 2013 +0100 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Mon Dec 16 14:38:03 2013 +0100 |
tree | eedc56fb461873c5697fe450f60e0497316ef670 | |
parent | 00381eeb47ef6b3b70d2a17c89a8205b6f1aa00a [diff] |
s390/cio: use device_lock to synchronize calls to the ccwgroup driver When calling set_{on,off}line of a ccwgroup 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>