mirror of https://github.com/torvalds/linux.git
mmc: sh_mmcif: Remove dummy PM resume callback
Unassigned system sleep callbacks were always treated the same as dummy callbacks that just return zero. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
c656c99c11
commit
00637d92cb
|
|
@ -1579,12 +1579,7 @@ static int sh_mmcif_suspend(struct device *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int sh_mmcif_resume(struct device *dev)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static DEFINE_SIMPLE_DEV_PM_OPS(sh_mmcif_dev_pm_ops, sh_mmcif_suspend, sh_mmcif_resume);
|
||||
static DEFINE_SIMPLE_DEV_PM_OPS(sh_mmcif_dev_pm_ops, sh_mmcif_suspend, NULL);
|
||||
|
||||
static struct platform_driver sh_mmcif_driver = {
|
||||
.probe = sh_mmcif_probe,
|
||||
|
|
|
|||
Loading…
Reference in New Issue