diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2011-09-14 10:20:25 -0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-09-20 09:45:09 +0200 |
commit | a35b91474c329ecefa793e4e7bb4103c88f4a16f (patch) | |
tree | 88aeed0fdc3806404bf2d2eed7c9bb75bdf7fd9a /arch/arm/mach-mx5 | |
parent | 25c038ee0d3a6599f0165f97a651d988d7afd40b (diff) | |
download | blackbird-op-linux-a35b91474c329ecefa793e4e7bb4103c88f4a16f.tar.gz blackbird-op-linux-a35b91474c329ecefa793e4e7bb4103c88f4a16f.zip |
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>
Diffstat (limited to 'arch/arm/mach-mx5')
0 files changed, 0 insertions, 0 deletions