ahci_platform: use dev_get_platdata()
authorJiSheng Zhang <jszhang3@gmail.com>
Mon, 31 Oct 2011 13:20:10 +0000 (21:20 +0800)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 9 Nov 2011 06:36:00 +0000 (01:36 -0500)
commit003456145f0d23b73f080abd1fd7981788438693
tree2bbfae7454e43b6f10e6205b9a6ae14d65099db3
parent6d2dd054295e26dad0a84e2fe2029a1428242f8b
ahci_platform: use dev_get_platdata()

Use dev_get_platdata() to retrieve the struct ahci_platform_data data
from the platform.

Signed-off-by: JiSheng Zhang <jszhang3@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ahci_platform.c