]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: usb: ax88179_178a: clean up pm calls
authorJustin Chen <justinpopo6@gmail.com>
Thu, 21 Jul 2022 00:28:13 +0000 (17:28 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Jan 2024 14:13:37 +0000 (15:13 +0100)
commit2964a0de752695b02d3d7089cece3e98f1c103cb
tree7f23888fcb24518b21aeb93b5a4df9a0c7e660d6
parent597305fd770870fbfd12ed981b095e073ae1aafe
net: usb: ax88179_178a: clean up pm calls

[ Upstream commit 843f92052da7694e846e8e12bbe2342845d2033e ]

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>
Stable-dep-of: aef05e349bfd ("net: usb: ax88179_178a: avoid failed operations when device is disconnected")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/usb/ax88179_178a.c