media: rockchip: subdev-itf: remove empty runtime suspend/resume

drivers/media/platform/rockchip/cif/subdev-itf.c:1172:12: warning: 'sditf_runtime_resume' defined but not used [-Wunused-function]
error, forbidden warning:subdev-itf.c:1172
 1172 | static int sditf_runtime_resume(struct device *dev)
      |            ^~~~~~~~~~~~~~~~~~~~
drivers/media/platform/rockchip/cif/subdev-itf.c:1167:12: warning: 'sditf_runtime_suspend' defined but not used [-Wunused-function]
error, forbidden warning:subdev-itf.c:1167
 1167 | static int sditf_runtime_suspend(struct device *dev)
      |            ^~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I537818f182741704e55f0bb59c623e1118bf5838
This commit is contained in:
Jianqun Xu
2023-01-31 16:33:06 +08:00
committed by Tao Huang
parent 1d40129dd7
commit 979b9e6c84

View File

@@ -1189,21 +1189,6 @@ static int rkcif_subdev_remove(struct platform_device *pdev)
return 0;
}
static int sditf_runtime_suspend(struct device *dev)
{
return 0;
}
static int sditf_runtime_resume(struct device *dev)
{
return 0;
}
static const struct dev_pm_ops rkcif_subdev_pm_ops = {
SET_RUNTIME_PM_OPS(sditf_runtime_suspend,
sditf_runtime_resume, NULL)
};
static const struct of_device_id rkcif_subdev_match_id[] = {
{
.compatible = "rockchip,rkcif-sditf",
@@ -1217,7 +1202,6 @@ struct platform_driver rkcif_subdev_driver = {
.remove = rkcif_subdev_remove,
.driver = {
.name = "rkcif_sditf",
.pm = &rkcif_subdev_pm_ops,
.of_match_table = rkcif_subdev_match_id,
},
};