summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_scc.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2011-10-12 19:09:09 +0400
committerJeff Garzik <jgarzik@redhat.com>2011-10-14 13:18:34 -0400
commit90f0adf0936d464a337512e6cbe7929a49bf3c55 (patch)
tree3c6dcfae756bf1daa38cc0ae4f2660544885a04d /drivers/ata/pata_scc.c
parent46b9e77076a609d10b2009310a1e58281f8daaf9 (diff)
downloadlinux-90f0adf0936d464a337512e6cbe7929a49bf3c55.tar.bz2
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 <viresh.kumar@st.com> Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_scc.c')
0 files changed, 0 insertions, 0 deletions