• Robin Murphy's avatar
    mfd: rk808: Stop using syscore ops · 90df3a82
    Robin Murphy authored
    Setting the SLEEP pin to its shutdown function for appropriate PMICs
    doesn't need to happen in single-CPU context, so there's really no point
    involving the syscore machinery. Hook it up to the standard driver model
    shutdown method instead. This also obviates the issue that the syscore
    ops weren't being unregistered on probe failure or module removal.
    Signed-off-by: default avatarRobin Murphy <robin.murphy@arm.com>
    Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
    90df3a82
rk808.c 18.5 KB