]> git.karo-electronics.de Git - linux-beck.git/commit
ata: use pci_get_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 3 Jun 2013 05:05:36 +0000 (14:05 +0900)
committerTejun Heo <tj@kernel.org>
Mon, 3 Jun 2013 05:22:03 +0000 (22:22 -0700)
commit0a86e1c857134efe2cdb31d74bc7ea21721db494
treefe658d32cef1acea7363120160874d4795ac1493
parentf6e984e63638e3bfb0f13f603a0e972a6da07deb
ata: use pci_get_drvdata()

Use the wrapper function for getting the driver data using pci_dev
instead of using dev_get_drvdata() with &pdev->dev, so we can directly
pass a struct pci_dev.  This is a purely cosmetic change.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
30 files changed:
drivers/ata/acard-ahci.c
drivers/ata/ahci.c
drivers/ata/ata_piix.c
drivers/ata/pata_ali.c
drivers/ata/pata_amd.c
drivers/ata/pata_artop.c
drivers/ata/pata_atp867x.c
drivers/ata/pata_cmd640.c
drivers/ata/pata_cmd64x.c
drivers/ata/pata_cs5520.c
drivers/ata/pata_cs5530.c
drivers/ata/pata_hpt366.c
drivers/ata/pata_hpt3x3.c
drivers/ata/pata_it821x.c
drivers/ata/pata_macio.c
drivers/ata/pata_ninja32.c
drivers/ata/pata_ns87415.c
drivers/ata/pata_pdc2027x.c
drivers/ata/pata_rdc.c
drivers/ata/pata_rz1000.c
drivers/ata/pata_serverworks.c
drivers/ata/pata_sil680.c
drivers/ata/pata_sis.c
drivers/ata/pata_sl82c105.c
drivers/ata/pata_triflex.c
drivers/ata/pata_via.c
drivers/ata/sata_inic162x.c
drivers/ata/sata_nv.c
drivers/ata/sata_sil.c
drivers/ata/sata_sil24.c