]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/i2c/busses/i2c-sh_mobile.c
Merge tag 'powerpc-4.20-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
[linux.git] / drivers / i2c / busses / i2c-sh_mobile.c
index 818cab14e87c5ea47e5c6daaa7b76c818465df52..a7a7a9c3bc7c499b59f4672399adf7ec3691f667 100644 (file)
@@ -947,27 +947,9 @@ static int sh_mobile_i2c_remove(struct platform_device *dev)
        return 0;
 }
 
-static int sh_mobile_i2c_runtime_nop(struct device *dev)
-{
-       /* Runtime PM callback shared between ->runtime_suspend()
-        * and ->runtime_resume(). Simply returns success.
-        *
-        * This driver re-initializes all registers after
-        * pm_runtime_get_sync() anyway so there is no need
-        * to save and restore registers here.
-        */
-       return 0;
-}
-
-static const struct dev_pm_ops sh_mobile_i2c_dev_pm_ops = {
-       .runtime_suspend = sh_mobile_i2c_runtime_nop,
-       .runtime_resume = sh_mobile_i2c_runtime_nop,
-};
-
 static struct platform_driver sh_mobile_i2c_driver = {
        .driver         = {
                .name           = "i2c-sh_mobile",
-               .pm             = &sh_mobile_i2c_dev_pm_ops,
                .of_match_table = sh_mobile_i2c_dt_ids,
        },
        .probe          = sh_mobile_i2c_probe,