diff options
author | Hui Wang <jason77.wang@gmail.com> | 2012-07-13 10:51:29 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-07-13 11:01:46 +0100 |
commit | 8b17e0559fe728b89b45f4d88b4b30b498862709 (patch) | |
tree | 10ace386f284572c8df17d5d6ea109e717e7a0a4 /Documentation | |
parent | 872675df2795389fd47b7a0ad084ba1e91665c87 (diff) | |
download | blackbird-op-linux-8b17e0559fe728b89b45f4d88b4b30b498862709.tar.gz blackbird-op-linux-8b17e0559fe728b89b45f4d88b4b30b498862709.zip |
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions