Skip to content
Commit 3afb57fa authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (ab8500) Call kernel_power_off instead of pm_power_off



Drivers should not call pm_power_off directly; it is not guaranteed
to be non-NULL. Call kernel_power_off instead.

Cc: Jean Delvare <jdelvare@suse.de>
Reviewed-by: default avatarJean Delvare <jdelvare@suse.de>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 7ad8966f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment