sata_mv: use {platform|pci}_get_drvdata()
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 7 Oct 2011 15:24:22 +0000 (19:24 +0400)
committerJeff Garzik <jgarzik@redhat.com>
Sat, 8 Oct 2011 03:46:20 +0000 (23:46 -0400)
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>

No differences found