msm: spm-v2: NULL check for dev pointer

Make sure dev pointer is not NULL before accessing it.

Change-Id: I1808d166c1eefd4f17be13d5252c0fcd0ec86c80
Signed-off-by: Anji Jonnala <anjir@codeaurora.org>
1 file changed