pata_platform: Remove useless irq_flags field

IRQ flags can be obtained from resource structure, there are no need
to use additional field in the platform_data to store these values.
This patch removes this field and convert existing users of this driver
to use IRQ flags from the resources.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
Alexander Shiyan
2014-08-23 14:45:47 +04:00
committed by Tejun Heo
parent ca99140a63
commit 53f3cc4633
8 changed files with 6 additions and 20 deletions

View File

@@ -8,11 +8,6 @@ struct pata_platform_info {
* spacing used by ata_std_ports().
*/
unsigned int ioport_shift;
/*
* Indicate platform specific irq types and initial
* IRQ flags when call request_irq()
*/
unsigned int irq_flags;
};
extern int __pata_platform_probe(struct device *dev,