summaryrefslogtreecommitdiff
path: root/drivers/power/bq27x00_battery.c
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2013-12-12 16:53:11 (GMT)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-12-16 13:37:55 (GMT)
commit0c0c2776926018e7560b99e921467aea1115d03b (patch)
treea663713f196c4d5fdb9f41aa680e9b554a8e6f84 /drivers/power/bq27x00_battery.c
parent704268925d32a0457202371a61580af76b94c53a (diff)
downloadlinux-0c0c2776926018e7560b99e921467aea1115d03b.tar.xz
s390/pci: set error state for unavailable functions
If we receive a notification that a pci function became unavailable we clean up by removing the pci device. This can confuse the driver since the function is already unaccessible. Improve this situation by setting an appropriate error_state. Reviewed-by: Gerald Schaefer <gerald.schaefer@de.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/power/bq27x00_battery.c')
0 files changed, 0 insertions, 0 deletions