aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhayeswang <hayeswang@realtek.com>2017-01-25 00:41:45 -0500
committerDavid S. Miller <davem@davemloft.net>2017-01-25 13:24:34 -0500
commita9c54ad2c737853b1f404b10b09da4ca7fa18597 (patch)
tree79fa88af896fd9b587f94311f8f835bdaa94c1e6
parentd234559952f4f2b1bf89229da0d54be5281613d7 (diff)
r8152: fix the wrong spelling
Replace rumtime with runtime. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/usb/r8152.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
index f3b48ad90865..d59d7737708b 100644
--- a/drivers/net/usb/r8152.c
+++ b/drivers/net/usb/r8152.c
@@ -3576,7 +3576,7 @@ static bool delay_autosuspend(struct r8152 *tp)
3576 return false; 3576 return false;
3577} 3577}
3578 3578
3579static int rtl8152_rumtime_suspend(struct r8152 *tp) 3579static int rtl8152_runtime_suspend(struct r8152 *tp)
3580{ 3580{
3581 struct net_device *netdev = tp->netdev; 3581 struct net_device *netdev = tp->netdev;
3582 int ret = 0; 3582 int ret = 0;
@@ -3653,7 +3653,7 @@ static int rtl8152_suspend(struct usb_interface *intf, pm_message_t message)
3653 mutex_lock(&tp->control); 3653 mutex_lock(&tp->control);
3654 3654
3655 if (PMSG_IS_AUTO(message)) 3655 if (PMSG_IS_AUTO(message))
3656 ret = rtl8152_rumtime_suspend(tp); 3656 ret = rtl8152_runtime_suspend(tp);
3657 else 3657 else
3658 ret = rtl8152_system_suspend(tp); 3658 ret = rtl8152_system_suspend(tp);
3659 3659