diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-10-12 17:39:29 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-10-17 07:42:14 +0200 |
commit | efb389b8c34fa7da673eb0a598b223bd891daa9d (patch) | |
tree | 34622a812729370bd051276e8dab38023713f125 /drivers/ata/sata_highbank.c | |
parent | hwmon: (acpi_power_meter) Use acpi_bus_get_acpi_device() (diff) | |
download | linux-efb389b8c34fa7da673eb0a598b223bd891daa9d.tar.xz linux-efb389b8c34fa7da673eb0a598b223bd891daa9d.zip |
hwmon: (max31722) Warn about failure to put device in stand-by in .remove()
When an spi driver's remove function returns a non-zero error code
nothing happens apart from emitting a generic error message. Make this
error message more device specific and return zero instead.
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20211012153945.2651412-5-u.kleine-koenig@pengutronix.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/ata/sata_highbank.c')
0 files changed, 0 insertions, 0 deletions