From: Fabio Estevam Date: Wed, 14 Sep 2011 13:20:25 +0000 (-0300) Subject: ARM: mach-mxs/mx28evk: Only register devices if their GPIO requests succeeded X-Git-Tag: v3.2-rc1~98^2~7^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a35b91474c329ecefa793e4e7bb4103c88f4a16f;p=pandora-kernel.git ARM: mach-mxs/mx28evk: Only register devices if their GPIO requests succeeded Currently framebuffer and MMC devices are registered even if their associated GPIO pins fail to be requested. Change the logic so that the registration of such devices only occurs if their GPIO requests succeeded. Signed-off-by: Fabio Estevam Signed-off-by: Sascha Hauer --- Reading git-diff-tree failed