diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2013-12-16 10:54:13 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-12-16 14:38:02 +0100 |
commit | 00381eeb47ef6b3b70d2a17c89a8205b6f1aa00a (patch) | |
tree | a801b13badc66a26abae11f4ee48823e62f076e0 /drivers/s390/cio/chsc.h | |
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>
Diffstat (limited to 'drivers/s390/cio/chsc.h')
0 files changed, 0 insertions, 0 deletions