mmc: host: use platform_{get,set}_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 3 Jun 2013 04:41:03 +0000 (13:41 +0900)
committerChris Ball <cjb@laptop.org>
Thu, 27 Jun 2013 15:13:02 +0000 (11:13 -0400)
commit6e2c0f3ffbb54547edcf1dd92a120ff37988a4d8
tree7bd6cb1a14d17f91a6a669c48bf9a837b786b599
parent7913ae7d10d82bf9d9af6be6c20281fceb695ec0
mmc: host: use platform_{get,set}_drvdata()

Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev,
so we can directly pass a struct platform_device.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/cb710-mmc.c
drivers/mmc/host/cb710-mmc.h
drivers/mmc/host/sh_mobile_sdhi.c