From: Sergei Shtylyov Date: Wed, 12 Oct 2011 15:09:09 +0000 (+0400) Subject: pata_arasan_cf: remove bogus to_platform_device() calls X-Git-Tag: v3.2-rc1~151^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90f0adf0936d464a337512e6cbe7929a49bf3c55;p=pandora-kernel.git pata_arasan_cf: remove bogus to_platform_device() calls The suspend()/resume() methods already get the right 'struct device' to get the driver data from -- there's no need to get to the 'struct platform_device' that contains that 'struct device' just to call dev_get_drvdata()... Acked-by: Viresh Kumar Signed-off-by: Sergei Shtylyov Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed