From: Charles Keepax Date: Sat, 28 Sep 2013 14:34:57 +0000 (+0100) Subject: extcon: arizona: Get pdata from arizona structure not device X-Git-Tag: v3.13-rc4~46^2~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ac6b475c56ce4bbaf36b02db7d1372f2e17aeec;p=pandora-kernel.git extcon: arizona: Get pdata from arizona structure not device In the case of a device tree system there will be no pdata attached to the device, causing us to deference a NULL pointer. Better to take the pdata from the Arizona structure as this will always exist and we know will have been populated since it is populated by the MFD device which binds in the extcon driver. Signed-off-by: Charles Keepax Signed-off-by: Chanwoo Choi --- Reading git-diff-tree failed