diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2015-09-14 11:07:56 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-10-26 14:49:04 +0000 |
commit | 16dfd10375011e0999ce9d96df2df08380edf001 (patch) | |
tree | dae9716e71be06d3f9e622d741c6bd0bb324877f /drivers/mfd/lm3533-ctrlbank.c | |
parent | d785334a0d5deff30a487c74324b842d2179553d (diff) | |
download | op-kernel-dev-16dfd10375011e0999ce9d96df2df08380edf001.zip op-kernel-dev-16dfd10375011e0999ce9d96df2df08380edf001.tar.gz |
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/lm3533-ctrlbank.c')
0 files changed, 0 insertions, 0 deletions