summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ad7414.c
diff options
context:
space:
mode:
authorHui Wang <jason77.wang@gmail.com>2012-07-13 04:51:29 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-13 12:01:46 +0200
commit8b17e0559fe728b89b45f4d88b4b30b498862709 (patch)
tree10ace386f284572c8df17d5d6ea109e717e7a0a4 /drivers/hwmon/ad7414.c
parentspi/imx: remove redundant config.speed_hz setting (diff)
downloadlinux-8b17e0559fe728b89b45f4d88b4b30b498862709.tar.xz
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 'drivers/hwmon/ad7414.c')
0 files changed, 0 insertions, 0 deletions