Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ravb: use proper names for suspend/resume functions

The patch 'ravb: add sleep PM suspend/resume support' used incorrect
function names containing 'runtime' for the suspend and resume
functions.

Reported-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Niklas Söderlund and committed by
David S. Miller
b89b815c 9c706a49

+3 -3
+3 -3
drivers/net/ethernet/renesas/ravb_main.c
··· 2104 2104 } 2105 2105 2106 2106 #ifdef CONFIG_PM 2107 - static int ravb_runtime_suspend(struct device *dev) 2107 + static int ravb_suspend(struct device *dev) 2108 2108 { 2109 2109 struct net_device *ndev = dev_get_drvdata(dev); 2110 2110 int ret = 0; ··· 2117 2117 return ret; 2118 2118 } 2119 2119 2120 - static int ravb_runtime_resume(struct device *dev) 2120 + static int ravb_resume(struct device *dev) 2121 2121 { 2122 2122 struct net_device *ndev = dev_get_drvdata(dev); 2123 2123 struct ravb_private *priv = netdev_priv(ndev); ··· 2165 2165 } 2166 2166 2167 2167 static const struct dev_pm_ops ravb_dev_pm_ops = { 2168 - SET_SYSTEM_SLEEP_PM_OPS(ravb_runtime_suspend, ravb_runtime_resume) 2168 + SET_SYSTEM_SLEEP_PM_OPS(ravb_suspend, ravb_resume) 2169 2169 SET_RUNTIME_PM_OPS(ravb_runtime_nop, ravb_runtime_nop, NULL) 2170 2170 }; 2171 2171