File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313#include <linux/mmc/host.h>
1414#include <linux/mmc/dw_mmc.h>
1515#include <linux/of_address.h>
16- #include <linux/regulator/consumer.h>
1716#include <linux/slab.h>
1817
1918#include "dw_mmc.h"
@@ -290,15 +289,6 @@ static int dw_mci_rockchip_probe(struct platform_device *pdev)
290289 return dw_mci_pltfm_register (pdev , drv_data );
291290}
292291
293- static void dw_mci_rockchip_platfm_shutdown (struct platform_device * pdev )
294- {
295- struct dw_mci * host = platform_get_drvdata (pdev );
296- struct mmc_host * mmc = host -> cur_slot -> mmc ;
297-
298- if (!IS_ERR (mmc -> supply .vqmmc ))
299- regulator_set_voltage (mmc -> supply .vqmmc , 3000000 , 3300000 );
300- }
301-
302292#ifdef CONFIG_PM_SLEEP
303293static int dw_mci_rockchip_suspend (struct device * dev )
304294{
@@ -322,7 +312,6 @@ static SIMPLE_DEV_PM_OPS(dw_mci_rockchip_pmops,
322312static struct platform_driver dw_mci_rockchip_pltfm_driver = {
323313 .probe = dw_mci_rockchip_probe ,
324314 .remove = dw_mci_pltfm_remove ,
325- .shutdown = dw_mci_rockchip_platfm_shutdown ,
326315 .driver = {
327316 .name = "dwmmc_rockchip" ,
328317 .of_match_table = dw_mci_rockchip_match ,
You can’t perform that action at this time.
0 commit comments