summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/adp5588.h
diff options
context:
space:
mode:
authorBartosz Golaszewski <brgl@bgdev.pl>2017-05-25 11:37:38 +0300
committerLinus Walleij <linus.walleij@linaro.org>2017-05-29 14:34:22 +0300
commite3fe07e03e61c8483e8ffe804108787192177a76 (patch)
tree79134dd9f6b0f6111f4969f0cc6d711015087b29 /include/linux/platform_data/adp5588.h
parentd76e8babe420edbf9f9f9c78e42ef01f0e62dc07 (diff)
downloadlinux-e3fe07e03e61c8483e8ffe804108787192177a76.tar.xz
gpio: ml-ioh: check the return value of irq_alloc_generic_chip()
This function can fail, so check the return value before dereferencing the returned pointer. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/platform_data/adp5588.h')
0 files changed, 0 insertions, 0 deletions