From: Chanwoo Choi Date: Mon, 18 Feb 2013 01:15:03 +0000 (+0900) Subject: extcon: max8997: Check the pointer of platform data to protect null pointer error X-Git-Tag: v3.9-rc5~16^2~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=810d601f07ce2481ff776e049c0733ded2abbcc1;p=pandora-kernel.git extcon: max8997: Check the pointer of platform data to protect null pointer error This patch check the pointer of platform data to protect kernel panic when platform data is not used and code clean. Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- Reading git-diff-tree failed