From: Ulf Hansson Date: Tue, 14 Apr 2015 11:06:12 +0000 (+0200) Subject: Revert "mmc: core: Convert mmc_driver to device_driver" X-Git-Tag: omap-for-v4.1/fixes-rc1~56^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96541bac0b4e62efa42e7900d9b32e6baa9a214c;p=pandora-kernel.git Revert "mmc: core: Convert mmc_driver to device_driver" This reverts commit 6685ac62b2f0 ("mmc: core: Convert mmc_driver to device_driver") The reverted commit went too far in simplifing the device driver parts for mmc. Let's restore the old mmc_driver to enable driver core to sooner or later to remove the ->probe(), ->remove() and ->shutdown() callbacks from the struct device_driver. Note that, the old ->suspend|resume() callbacks in the struct mmc_driver don't need to be restored, since the mmc block layer has converted to the modern system PM ops. Fixes: 6685ac62b2f0 ("mmc: core: Convert mmc_driver to device_driver") Signed-off-by: Ulf Hansson Acked-by: Jaehoon Chung --- Reading git-diff-tree failed