diff options
| author | 2019-06-07 15:42:25 +0300 | |
|---|---|---|
| committer | 2019-07-02 12:11:31 +0100 | |
| commit | 76304994645028accc0cfe287652344b696f4470 (patch) | |
| tree | 594b62dc81e1c3efa627236786a733511367655a /drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com | |
| parent | mfd: cros_ec: differentiate SCP from EC by feature bit (diff) | |
| download | linux-dev-76304994645028accc0cfe287652344b696f4470.tar.xz linux-dev-76304994645028accc0cfe287652344b696f4470.zip | |
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>
Diffstat (limited to 'drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
