From: Boris BREZILLON Date: Wed, 14 May 2014 12:38:16 +0000 (+0200) Subject: reset: sunxi: allow MFD subdevices probe X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~40^2~14^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd90f0cf4454861a4f87bdfdcf01e8b98cc94869;p=pandora-kernel.git reset: sunxi: allow MFD subdevices probe The current implementation uses sunxi_reset_init function for both early init and platform device probe. The sunxi_reset_init function uses DT to retrieve device resources, which will be an issue if reset controllers are registered from an MFD device that define resources from mfd_cell definition. Moreover, we can make of devm functions when we're in the probe context. Signed-off-by: Boris BREZILLON Acked-by: Maxime Ripard Signed-off-by: Maxime Ripard Acked-by: Philipp Zabel --- Reading git-diff-tree failed