Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3c38799c authored by Mohit Aggarwal's avatar Mohit Aggarwal Committed by Gerrit - the friendly Code Review server
Browse files

rtc: qpnp-rtc: Add NULL pointer checks



In shutdown hook, null pointer check is missing.
So during probe, if RTC H/w is not enabled, rtc
driver data will not be initialized. This patch
adds null pointer checks in shutdown hook.

Change-Id: I1ecdaef8415394c853ce9658ec0da0946f08ad92
CRs-Fixed: 545637
Signed-off-by: default avatarMohit Aggarwal <maggarwa@codeaurora.org>
parent cad6f8bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment