From 90f0adf0936d464a337512e6cbe7929a49bf3c55 Mon Sep 17 00:00:00 2001 From: Sergei Shtylyov Date: Wed, 12 Oct 2011 19:09:09 +0400 Subject: [PATCH] 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-format-patch failed