mfd: mc13xxx: Do not use platform data with devicetree
authorAlexander Shiyan <shc_work@mail.ru>
Thu, 1 May 2014 06:48:03 +0000 (10:48 +0400)
committerLee Jones <lee.jones@linaro.org>
Tue, 3 Jun 2014 07:11:29 +0000 (08:11 +0100)
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 <shc_work@mail.ru>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/mc13xxx-core.c

Simple merge