summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-sff.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2011-10-07 17:24:22 +0200
committerJeff Garzik <jgarzik@redhat.com>2011-10-08 05:46:20 +0200
commitd86619211ed3cdf4f6abff984774b65314aba0fe (patch)
treec66486b89e9c5266bb613703cdc956c5fe871cad /drivers/ata/libata-sff.c
parentsata_mv: release clock on ata_host_activate() failure (diff)
downloadlinux-d86619211ed3cdf4f6abff984774b65314aba0fe.tar.xz
linux-d86619211ed3cdf4f6abff984774b65314aba0fe.zip
sata_mv: use {platform|pci}_get_drvdata()
The driver uses dev_get_drvdata() to get to the driver data for the platform and PCI devices, while the corresponding wrappers exists for them -- in one case it even declares an otherwise unneeded variable to do that. Switch to using the {platform|pci}_get_drvdata() instead. Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libata-sff.c')
0 files changed, 0 insertions, 0 deletions