summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSergey Ryazanov <ryazanov.s.a@gmail.com>2026-01-26 14:21:54 +0800
committerJakub Kicinski <kuba@kernel.org>2026-01-30 18:26:59 -0800
commit0868ea3471101aaf4d6498ac73b42bc975820303 (patch)
tree750983bc26846602910802b26d3027f010872a7c /include
parentdccd23a673ca09505b53fe10bccdd0421ad6cf80 (diff)
net: wwan: core: split port unregister and stop
Upcoming GNSS (NMEA) port type support requires exporting it via the GNSS subsystem. On another hand, we still need to do basic WWAN core work: call the port stop operation, purge queues, release the parent WWAN device, etc. To reuse as much code as possible, split the port unregistering function into the deregistration of a regular WWAN port device, and the common port tearing down code. In order to keep more code generic, break the device_unregister() call into device_del() and put_device(), which release the port memory uniformly. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> Reviewed-by: Loic Poulain <loic.poulain@oss.qualcomm.com> Link: https://patch.msgid.link/20260126062158.308598-5-slark_xiao@163.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions