Skip to content

Commit 00637d9

Browse files
geertuUlf Hansson
authored andcommitted
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>
1 parent c656c99 commit 00637d9

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

drivers/mmc/host/sh_mmcif.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1579,12 +1579,7 @@ static int sh_mmcif_suspend(struct device *dev)
15791579
return 0;
15801580
}
15811581

1582-
static int sh_mmcif_resume(struct device *dev)
1583-
{
1584-
return 0;
1585-
}
1586-
1587-
static DEFINE_SIMPLE_DEV_PM_OPS(sh_mmcif_dev_pm_ops, sh_mmcif_suspend, sh_mmcif_resume);
1582+
static DEFINE_SIMPLE_DEV_PM_OPS(sh_mmcif_dev_pm_ops, sh_mmcif_suspend, NULL);
15881583

15891584
static struct platform_driver sh_mmcif_driver = {
15901585
.probe = sh_mmcif_probe,

0 commit comments

Comments
 (0)