commit | 8b17e0559fe728b89b45f4d88b4b30b498862709 | [log] [tgz] |
---|---|---|
author | Hui Wang <jason77.wang@gmail.com> | Fri Jul 13 10:51:29 2012 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Fri Jul 13 11:01:46 2012 +0100 |
tree | 10ace386f284572c8df17d5d6ea109e717e7a0a4 | |
parent | 872675df2795389fd47b7a0ad084ba1e91665c87 [diff] |
spi/imx: use gpio_is_valid to determine if a gpio is valid Use gpio_is_valid() to replace "gpio >= 0" or "gpio < 0". Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Hui Wang <jason77.wang@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>