libata: Use dev_name() for request_irq() to distinguish devices
authorAlexander Shiyan <shc_work@mail.ru>
Tue, 19 Aug 2014 06:51:04 +0000 (10:51 +0400)
committerTejun Heo <tj@kernel.org>
Tue, 19 Aug 2014 15:44:18 +0000 (11:44 -0400)
Use dev_name() instead of driver name for request_irq().
This will help to distinguish between multiple identical devices.

Before:
 CPU0
 5:      34425  clps711x-intc   5  pata_of_platform
 6:       6778  clps711x-intc   6  pata_of_platform

After:
 CPU0
 5:       2182  clps711x-intc   5  20000000.ide
 6:      11024  clps711x-intc   6  20100000.ide

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Tejun Heo <tj@kernel.org>

No differences found