commit | a35b91474c329ecefa793e4e7bb4103c88f4a16f | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Wed Sep 14 10:20:25 2011 -0300 |
committer | Sascha Hauer <s.hauer@pengutronix.de> | Tue Sep 20 09:45:09 2011 +0200 |
tree | 88aeed0fdc3806404bf2d2eed7c9bb75bdf7fd9a | |
parent | 25c038ee0d3a6599f0165f97a651d988d7afd40b [diff] |
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 <fabio.estevam@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>