Sebastian Ott 7cd403142d [S390] cio: ccw_device_online_store return -EINVAL in case of missing driver
If no driver is attached to a device or the driver provides no
set_online/set_offline function, setting this device online/offline
via its sysfs online attribute will silently fail but return success.

This patch changes the behavior to return -EINVAL in those cases.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2010-08-09 18:12:53 +02:00
..
2010-08-04 15:14:38 +02:00
2010-08-04 11:16:01 +02:00
2010-08-03 11:55:15 -04:00
2010-08-05 13:26:20 +01:00
2010-07-26 08:05:31 -07:00
2010-07-27 12:40:54 +02:00