Searched hist:d86619211ed3cdf4f6abff984774b65314aba0fe (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/ata/ |
H A D | sata_mv.c | diff d86619211ed3cdf4f6abff984774b65314aba0fe Fri Oct 07 10:24:22 CDT 2011 Sergei Shtylyov <sshtylyov@ru.mvista.com> 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>
|