From: Sergei Shtylyov Date: Fri, 7 Oct 2011 15:24:22 +0000 (+0400) Subject: sata_mv: use {platform|pci}_get_drvdata() X-Git-Tag: v3.2-rc1~151^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d86619211ed3cdf4f6abff984774b65314aba0fe;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed