Merge "msm: spm-v2: NULL check for dev pointer"