summaryrefslogtreecommitdiffstats
path: root/samples/uhid
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-05-16 11:31:00 +0200
committerAnton Vorontsov <anton@enomsg.org>2013-06-07 02:25:27 +0200
commitdf311333a8c13f3ffe2537a4ff507887208cb863 (patch)
tree3d52e87564f8537623d465f52c6d632ee949746b /samples/uhid
parentlp8727_charger: Support the device tree feature (diff)
downloadlinux-df311333a8c13f3ffe2537a4ff507887208cb863.tar.xz
linux-df311333a8c13f3ffe2537a4ff507887208cb863.zip
pm2301_charger: Fix NULL pointer dereference
Add checking pl_data in probe, this prevent possible NULL pointer dereference. Also fix NULL pointer deference in dev_err when allocate memory for pm2 fails. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'samples/uhid')
0 files changed, 0 insertions, 0 deletions