]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
gpio: tps6586x: Add gpio support through platform driver
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 18 Jul 2012 06:20:48 +0000 (11:50 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 24 Jul 2012 22:36:54 +0000 (00:36 +0200)
commit72bd986030a30bdeb57ffa9efedcce73929edcb2
treeb9f99c8637cff331fbd592d8531caef68e71f112
parent75edd5af601800cf1c8797ed1da14f4ddbda6d47
gpio: tps6586x: Add gpio support through platform driver

Converting the gpio driver of tps6586x to a platform
driver in place of registering the gpio through core
driver.
The motivation of the change is:
- This is inline with the mfd drivers implementation.
- This will move the related gpio support to gpio driver
  folder where all gpio related drivers are available.
  This will be easy the maintenance and enhancement is
  anything done for gpio.
- The gpio functionality can be selected through config
  variable.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-tps6586x.c [new file with mode: 0644]