commit | d86619211ed3cdf4f6abff984774b65314aba0fe | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | Fri Oct 07 19:24:22 2011 +0400 |
committer | Jeff Garzik <jgarzik@redhat.com> | Fri Oct 07 23:46:20 2011 -0400 |
tree | c66486b89e9c5266bb613703cdc956c5fe871cad | |
parent | c00a4c9d247a3a24190d2f27ab9b23424d8b082c [diff] |
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>