Commit Graph
3 Commits
Author SHA1 Message Date
Jingoo Han 113a87f868 mmc: remove unnecessary platform_set_drvdata()
The driver core clears the driver data to NULL after device_release
or on probe failure, since commit 0998d06310
(device-core: Ensure drvdata = NULL when no driver is bound).
Thus, it is not needed to manually clear the device driver data to NULL.

Signed-off-by: Jingoo Han <[email protected]>
Acked-by: Sonic Zhang <[email protected]>
Acked-by: Seungwon Jeon <[email protected]>
Acked-by: Shawn Guo <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Acked-by: Haojian Zhuang <[email protected]>
Acked-by: Jaehoon Chung <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Acked-by: Tony Prisk <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
2013-05-26 14:23:23 -04:00
Silviu-Mihai Popescu 6a966e0609 mmc: android-goldfish: use resource_size()
Use resource_size() instead of explicit calculation. This was found via
make coccicheck.

Signed-off-by: Silviu-Mihai Popescu <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
2013-03-22 12:53:52 -04:00
Mike Lockwood 85c34d2e7b mmc: goldfish: emulated MMC device
This driver handles the virtual MMC device present in the Goldfish emulator.
The patch folds together initial work from Mike Lockwood and patches by
San Mehat, Jun Nakajima and Tom Keel <[email protected]> plus cleanups
by Alan Cox to get it all into 3.6 shape.

Signed-off-by: Mike A. Chan <[email protected]>
[cleaned up and x86 support added]
Signed-off-by: Sheng Yang <[email protected]>
Signed-off-by: Yunhong Jiang <[email protected]>
Signed-off-by: Xiaohui Xin <[email protected]>
Signed-off-by: Jun Nakajima <[email protected]>
Signed-off-by: Bruce Beare <[email protected]>
[Moved to 3.4]
Signed-off-by: Tom Keel <[email protected]>
[Moved to 3.7]
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
2013-02-24 14:37:04 -05:00