diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2015-09-14 12:07:56 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-10-26 17:49:04 +0300 |
commit | 16dfd10375011e0999ce9d96df2df08380edf001 (patch) | |
tree | dae9716e71be06d3f9e622d741c6bd0bb324877f /drivers/mfd/arizona-irq.c | |
parent | d785334a0d5deff30a487c74324b842d2179553d (diff) | |
download | linux-16dfd10375011e0999ce9d96df2df08380edf001.tar.xz |
mfd: wm831x: Fix possible NULL pointer dereference
The driver always checks for pdata being NULL except in one place.
Add a check to prevent a possible NULL pointer deference error.
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/arizona-irq.c')
0 files changed, 0 insertions, 0 deletions