summaryrefslogtreecommitdiff
path: root/drivers/regulator/act8865-regulator.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-03-02 11:10:54 +0300
committerKishon Vijay Abraham I <kishon@ti.com>2015-03-12 08:31:16 +0300
commit1cbdfc48c3d4064e2515e4d837e714fd1aaa2d6e (patch)
treee16009bb682b20f6e4db74d1df62d7067666ea09 /drivers/regulator/act8865-regulator.c
parent0f9722e37f8359e228f4c04e6822ad0bf9a4e083 (diff)
downloadlinux-1cbdfc48c3d4064e2515e4d837e714fd1aaa2d6e.tar.xz
phy: hix5hd2-sata: Check return value of platform_get_resource
This prevent NULL pointer dereference if res is NULL. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Zhangfei Gao <zhangfei.gao@linaro.org> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/regulator/act8865-regulator.c')
0 files changed, 0 insertions, 0 deletions