From: hayeswang Date: Wed, 25 Jan 2017 05:41:45 +0000 (+0800) Subject: r8152: fix the wrong spelling X-Git-Tag: v4.11-rc1~124^2~322 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a9c54ad2c737853b1f404b10b09da4ca7fa18597;p=karo-tx-linux.git r8152: fix the wrong spelling Replace rumtime with runtime. Signed-off-by: Hayes Wang Signed-off-by: David S. Miller --- 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) return false; } -static int rtl8152_rumtime_suspend(struct r8152 *tp) +static int rtl8152_runtime_suspend(struct r8152 *tp) { struct net_device *netdev = tp->netdev; int ret = 0; @@ -3653,7 +3653,7 @@ static int rtl8152_suspend(struct usb_interface *intf, pm_message_t message) mutex_lock(&tp->control); if (PMSG_IS_AUTO(message)) - ret = rtl8152_rumtime_suspend(tp); + ret = rtl8152_runtime_suspend(tp); else ret = rtl8152_system_suspend(tp);