]> git.baikalelectronics.ru Git - kernel.git/commit
net: wwan: core: Add WWAN device index sysfs attribute
authorLoic Poulain <loic.poulain@linaro.org>
Tue, 25 May 2021 16:31:18 +0000 (18:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 May 2021 22:51:37 +0000 (15:51 -0700)
commit76d773ddd2fc80753ead7591f07de8eb61869f6f
tree006cc907936f000acba36e18e43efe9f15faf8e3
parent6beb91e63cfc9ac6cc67b6928e5727e59585bcfd
net: wwan: core: Add WWAN device index sysfs attribute

Add index sysfs attribute for WWAN devices. This index is used to
uniquely indentify and reference a WWAN device. 'index' is the
attribute name that other device classes use (wireless, v4l2-dev,
rfkill, etc...).

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wwan/wwan_core.c