[PATCH 0/6] MIPS: lantiq: use managed gpios

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



3.2 introduced devm_request_gpio to allow devres to manage our gpios.

This series adds a new struct device pointer to our gpio_request wrapper
and ocnverts from gpio_request to devm_gpio_request.

John Crispin (6):
  MIPS: lantiq: remove redunant ltq_gpio_request() declaration and add
    device parameter
  MIPS: lantiq: use devm_request_gpio inside xway gpio driver
  MIPS: lantiq: use devm_request_gpio inside falcon gpio driver
  NET: MIPS: lantiq: convert etop to managed gpio
  MIPS: lantiq: convert pci to managed gpio
  MIPS: lantiq: convert gpio_stp to managed gpio

 .../include/asm/mach-lantiq/falcon/lantiq_soc.h    |    4 +---
 arch/mips/include/asm/mach-lantiq/lantiq.h         |    4 ++++
 .../mips/include/asm/mach-lantiq/xway/lantiq_soc.h |    3 ---
 arch/mips/lantiq/falcon/gpio.c                     |    4 ++--
 arch/mips/lantiq/xway/gpio.c                       |    4 ++--
 arch/mips/lantiq/xway/gpio_stp.c                   |   13 ++++++++-----
 arch/mips/pci/pci-lantiq.c                         |   18 ++++++++++--------
 drivers/net/ethernet/lantiq_etop.c                 |    9 ++++++---
 8 files changed, 33 insertions(+), 26 deletions(-)

-- 
1.7.7.1




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux