]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Fri, 23 May 2014 09:34:14 +0000 (10:34 +0100)
commit79bc7a5f71a380bdb8c145bf7e7cbb2de9dd94c1
treee5fd39991a59d4ce59a0d211593ee96bc796bda5
parent787a2d89a5dc3b125f7a98155bf3cba322462ed9
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 <shc_work@mail.ru>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/mc13xxx-core.c