net: usb: ax88179_178a: clean up pm calls
authorJustin Chen <justinpopo6@gmail.com>
Thu, 21 Jul 2022 00:28:13 +0000 (17:28 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 23 Jul 2022 04:43:58 +0000 (21:43 -0700)
commit843f92052da7694e846e8e12bbe2342845d2033e
tree953269619b7ba3e288742406fef18990300f75c6
parent9718f9ce5b86e2f4e6364762018980f0222c2e5e
net: usb: ax88179_178a: clean up pm calls

Instead of passing in_pm flags all over the place, use the private
struct to handle in_pm mode.

Signed-off-by: Justin Chen <justinpopo6@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/usb/ax88179_178a.c