From: Chao Xie Date: Mon, 19 Aug 2013 01:27:55 +0000 (-0400) Subject: mfd: 88pm805: Fix potential NULL pdata dereference X-Git-Tag: v3.12-rc1~100^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b274fe522e9d5ac7397e07e3516bb10e3c2ee92;p=pandora-kernel.git 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 Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed