Stefan Mavrodiev 7630499464 mfd: rk808: Check pm_power_off pointer
The function pointer pm_power_off may point to function from other
module (PSCI for example). If rk808 is removed, pm_power_off is
overwritten to NULL and the system cannot be powered off.

This patch checks if pm_power_off points to a module function.

Signed-off-by: Stefan Mavrodiev <stefan@olimex.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2019-07-02 12:11:31 +01:00
..
2019-05-15 08:58:49 -07:00
2019-05-08 21:35:19 -07:00
2019-05-16 08:38:17 -07:00
2019-04-08 15:58:54 -07:00
2019-05-16 11:57:16 -07:00
2019-05-16 17:00:13 -07:00
2019-05-06 13:47:50 -03:00
2019-05-17 13:57:54 -07:00
2019-04-01 17:46:57 +02:00