r8152: move the initialization to reset_resume function
authorhayeswang <hayeswang@realtek.com>
Fri, 9 Jun 2017 09:11:45 +0000 (17:11 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Jun 2017 19:37:01 +0000 (15:37 -0400)
commitbefb2de18195d1ab6b843dd6ca921a222a32a588
tree1b681f1d79abc192b1423195bd6c07ccebc705d9
parent49d10347d445f003cdd3a3c2c4f36d11aa67e6e1
r8152: move the initialization to reset_resume function

Move tp->rtl_ops.init() from rtl8152_resume() to rtl8152_reset_resume().
The initialization is only necessary for reset_resume().

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c