OSDN Git Service

net: wwan: t7xx: use union to group port type specific data
authorM Chetan Kumar <m.chetan.kumar@linux.intel.com>
Fri, 28 Oct 2022 15:34:50 +0000 (21:04 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Nov 2022 11:39:49 +0000 (11:39 +0000)
commitfece7a8c65d1476b901b969a07b2979e1b459e66
tree732e7dacc1c591292cb9169828ffe8ac5edaa214
parentb0e01253a764faab9ecf56c0759e6b06470eb9ff
net: wwan: t7xx: use union to group port type specific data

Use union inside t7xx_port to group port type specific data members.

Signed-off-by: M Chetan Kumar <m.chetan.kumar@linux.intel.com>
Reviewed-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wwan/t7xx/t7xx_port.h
drivers/net/wwan/t7xx/t7xx_port_wwan.c