summaryrefslogtreecommitdiff
path: root/drivers/net/wwan/iosm/iosm_ipc_imem.c
diff options
context:
space:
mode:
authorM Chetan Kumar <m.chetan.kumar@linux.intel.com>2021-11-20 19:21:54 +0300
committerDavid S. Miller <davem@davemloft.net>2021-11-22 16:23:08 +0300
commitc4804670026b93f4ebddda30af89fd737bf93931 (patch)
treeb4635f7bdfa40d9dcfdd09357e259bf4e7cd86c1 /drivers/net/wwan/iosm/iosm_ipc_imem.c
parenta9c2cf9e93335968e894c16921c151f016fa36c7 (diff)
downloadlinux-c4804670026b93f4ebddda30af89fd737bf93931.tar.xz
net: wwan: common debugfs base dir for wwan device
This patch set brings in a common debugfs base directory i.e. /sys/kernel/debugfs/wwan/ in WWAN Subsystem for a WWAN device instance. So that it avoids driver polluting debugfs root with unrelated directories & possible name collusion. Having a common debugfs base directory for WWAN drivers eases user to match control devices with debugfs entries. WWAN Subsystem creates dentry (/sys/kernel/debugfs/wwan) on module load & removes dentry on module unload. When driver registers a new wwan device, dentry (wwanX) is created for WWAN device instance & on driver unregister dentry is removed. New API is introduced to return the wwan device instance dentry so that driver can create debugfs entries under it. Signed-off-by: M Chetan Kumar <m.chetan.kumar@linux.intel.com> Reviewed-by: Loic Poulain <loic.poulain@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_imem.c')
0 files changed, 0 insertions, 0 deletions