mfd: qcom_rpm: Fix a possible NULL dereference
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Thu, 12 Nov 2015 07:49:59 +0000 (08:49 +0100)
committerLee Jones <lee.jones@linaro.org>
Fri, 4 Dec 2015 08:46:23 +0000 (08:46 +0000)
commitcf1199f792da92dabfd5dfb2bd2211b5d191da45
tree5dddb6948f4179a2bb4669a2cd5414e227c68069
parentbdd5dcf513847b306621a2059e2ebee910208d8a
mfd: qcom_rpm: Fix a possible NULL dereference

of_match_device could return NULL, and so cause a NULL pointer
dereference later.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/qcom_rpm.c