]> asedeno.scripts.mit.edu Git - linux.git/commit
hwmon: (ab8500) Call kernel_power_off instead of pm_power_off
authorGuenter Roeck <linux@roeck-us.net>
Tue, 30 Sep 2014 02:45:02 +0000 (19:45 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 3 Oct 2014 15:19:02 +0000 (08:19 -0700)
commit3afb57fa721f94206e642f8fda51f5a89dda3dfb
treec19dace0b3f1f63616a2e24da594a8fd96f5d661
parent7ad8966f4f0a4606dfaba119ea4e2b3ac4c548ee
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: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ab8500.c