From: Alexander Shiyan Date: Thu, 1 May 2014 06:48:03 +0000 (+0400) Subject: mfd: mc13xxx: Do not use platform data with devicetree X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2~6^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2ff8459f1f88283935e6bc3fb536820148c7d6a;p=pandora-kernel.git mfd: mc13xxx: Do not use platform data with devicetree This patch removes platform data usage for codec and touchscreen when driver is used with devicetree. This fixes possible "null pointer dereference" error if DTS uses "fsl,mc13xxx-uses-codec" or "fsl,mc13xxx-uses-touch" options. Signed-off-by: Alexander Shiyan Signed-off-by: Lee Jones --- Reading git-diff-tree failed