gpio: exynos4: skip gpiolib registration if pinctrl driver is used
authorThomas Abraham <thomas.abraham@linaro.org>
Thu, 6 Sep 2012 21:07:19 +0000 (06:07 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 6 Sep 2012 21:07:19 +0000 (06:07 +0900)
commitd05866240cce588bedf544b0350bad9d279a64cf
tree4019bf42912f40c4907b550e6ee7a7a5bc751108
parent43b169db184184e1df8dea198d454a06602c5150
gpio: exynos4: skip gpiolib registration if pinctrl driver is used

Pinctrl driver, when enabled, registers all the gpio pins and hence the
registration of gpio pins by this driver can be skipped.

Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/gpio/gpio-samsung.c