Linus Walleij
40d4d3319f
MIPS: VR41xx: Mark GPIO lines used for IRQ
...
When an IRQ is started on a GPIO line, mark this GPIO as IRQ in
the gpiolib so we can keep track of the usage centrally.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org >
Cc: Ralf Baechle <ralf@linux-mips.org >
Cc: linux-mips@linux-mips.org
Cc: linux-gpio@vger.kernel.org
Cc: Alexandre Courbot <acourbot@nvidia.com >
Patchwork: https://patchwork.linux-mips.org/patch/6417/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-03-31 18:17:12 +02:00
Bill Pemberton
206210ce68
gpio: remove use of __devexit
...
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu >
Cc: Grant Likely <grant.likely@secretlab.ca >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Cc: Peter Tyser <ptyser@xes-inc.com >
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-11-28 11:39:59 -08:00
Bill Pemberton
3836309d93
gpio: remove use of __devinit
...
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu >
Cc: Grant Likely <grant.likely@secretlab.ca >
Cc: Peter Tyser <ptyser@xes-inc.com >
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com >
Cc: Kevin Hilman <khilman@ti.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-11-28 11:39:33 -08:00
Bill Pemberton
8283c4ff57
gpio: remove use of __devexit_p
...
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu >
Cc: Grant Likely <grant.likely@secretlab.ca >
Cc: Peter Tyser <ptyser@xes-inc.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-11-28 11:36:36 -08:00
Mark Brown
6f61415e9c
gpio: Convert GPIO drivers to module_platform_driver
...
Where appropriate factor out some boilerplate code for platform device
registration into module_platform_driver. Drivers that don't use the
standard module_init initcall haven't been converted.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Signed-off-by: Grant Likely <grant.likely@secretlab.ca >
2012-01-02 00:26:06 -07:00
Joe Perches
27810c5e7f
gpio/vr41xx: Convert use of struct resource to resource_size(ptr)
...
Remove miscellaneous use of direct calculation by using resource_size().
Signed-off-by: Joe Perches <joe@perches.com >
Signed-off-by: Grant Likely <grant.likely@secretlab.ca >
2011-06-10 23:37:10 -06:00
Grant Likely
c103de2404
gpio: reorganize drivers
...
Sort the gpio makefile and enforce the naming convention gpio-*.c for
gpio drivers.
v2: cleaned up filenames in Kconfig and comment blocks
v3: fixup use of BASIC_MMIO to GENERIC_GPIO for mxc
Signed-off-by: Grant Likely <grant.likely@secretlab.ca >
2011-06-06 10:10:11 -06:00