]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: 88pm805: Fix potential NULL pdata dereference
authorChao Xie <chao.xie@marvell.com>
Mon, 19 Aug 2013 01:27:55 +0000 (21:27 -0400)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 2 Sep 2013 09:00:16 +0000 (11:00 +0200)
commit61f5e85cb8782bbc01a8463f41fce9159c2d8d1b
tree17a0fbd4fa0df463abccdf7ff7e3d9fbe567383c
parent083504123d8447f7eb6dfed14f0bcc3d9123c424
mfd: 88pm805: Fix potential NULL pdata dereference

User pass platform data to device, and platform data may be
NULL. Add the check for pdata.

Signed-off-by: Chao Xie <chao.xie@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/88pm805.c