From: Lee Jones Date: Fri, 27 Sep 2013 13:25:55 +0000 (+0100) Subject: mfd: arizona: Only attempt to parse DT if platform data was not passed X-Git-Tag: v3.13-rc1~66^2~4^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22d7dc8aba3bf34fdf324f43718c238075cc7cf7;p=pandora-kernel.git mfd: arizona: Only attempt to parse DT if platform data was not passed If platform data is passed when probing the device then it should take precedence over Device Tree. This patch saves cycles in the pdata case and prevents error messages when DT is not passed. Reported-by: Mark Brown Signed-off-by: Lee Jones --- Reading git-diff-tree failed