[PATCH v3 00/10] ata: pata_platform: Refurbish the driver

Lad Prabhakar posted 10 patches 2 years, 4 months ago
Only 0 patches received!
drivers/ata/Kconfig            |  10 --
drivers/ata/Makefile           |   1 -
drivers/ata/pata_of_platform.c |  90 --------------
drivers/ata/pata_platform.c    | 208 ++++++++++++++++++++++-----------
include/linux/ata_platform.h   |   9 --
5 files changed, 142 insertions(+), 176 deletions(-)
delete mode 100644 drivers/ata/pata_of_platform.c
[PATCH v3 00/10] ata: pata_platform: Refurbish the driver
Posted by Lad Prabhakar 2 years, 4 months ago
Hi All,

This patch series aims to merge pata_of_platform into pata_platform
driver.

Cheers,
Prabhakar

Changes for v3:
* Split up the patches furthermore.

Changes for v2:
* Dropped check for IRQ0
* Dropped setting the irqflags as suggested by Rob
* Fixed freeing up irq_res when not present in DT
* Dropped PATA_OF_PLATFORM entry
* Split up sorting of headers in separate patch
* Dropped sht from struct pata_platform_priv
* Used GENMASK() to calculate mask

Lad Prabhakar (10):
  ata: pata_platform: Make use of platform_get_mem_or_io()
  ata: pata_platform: Drop use of unlikely() in pata_platform_probe
  ata: pata_of_platform: Use platform_get_irq_optional() to get the
    interrupt
  ata: pata_platform: Use platform_get_irq_optional() to get the
    interrupt
  ata: pata_platform: Drop check for invalid IRQ number
  ata: pata_of_platform: Make use of platform_get_mem_or_io()
  ata: pata_platform: Merge pata_of_platform into pata_platform
  ata: pata_platform: Drop validating num_resources count
  ata: pata_platform: Sort the #includes alphabetically
  ata: pata_platform: Make use of GENMASK() macro

 drivers/ata/Kconfig            |  10 --
 drivers/ata/Makefile           |   1 -
 drivers/ata/pata_of_platform.c |  90 --------------
 drivers/ata/pata_platform.c    | 208 ++++++++++++++++++++++-----------
 include/linux/ata_platform.h   |   9 --
 5 files changed, 142 insertions(+), 176 deletions(-)
 delete mode 100644 drivers/ata/pata_of_platform.c

-- 
2.17.1