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:
Geert Uytterhoeven 2025-09-04 17:35:43 +02:00 committed by Ulf Hansson
parent c656c99c11
commit 00637d92cb
1 changed files with 1 additions and 6 deletions

View File

@ -1579,12 +1579,7 @@ static int sh_mmcif_suspend(struct device *dev)
return 0; return 0;
} }
static int sh_mmcif_resume(struct device *dev) static DEFINE_SIMPLE_DEV_PM_OPS(sh_mmcif_dev_pm_ops, sh_mmcif_suspend, NULL);
{
return 0;
}
static DEFINE_SIMPLE_DEV_PM_OPS(sh_mmcif_dev_pm_ops, sh_mmcif_suspend, sh_mmcif_resume);
static struct platform_driver sh_mmcif_driver = { static struct platform_driver sh_mmcif_driver = {
.probe = sh_mmcif_probe, .probe = sh_mmcif_probe,