mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 16:44:10 +08:00
bus: mhi: core: Rename debugfs directory name
Use MHI controller device name instead of the 'bus' device name as debugfs dir name (e.g. /sys/kernel/debug/mhi0). That aligns with sysfs device name. Signed-off-by: Loic Poulain <loic.poulain@linaro.org> Tested-by: Jeffrey Hugo <jhugo@codeaurora.org> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Reviewed-by: Jeffrey Hugo <jhugo@codeaurora.org> Link: https://lore.kernel.org/r/1613403753-1457-1-git-send-email-loic.poulain@linaro.org Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
This commit is contained in:
parent
0ecc1c70dc
commit
e5b53b5be6
@ -377,7 +377,7 @@ static struct dentry *mhi_debugfs_root;
|
||||
void mhi_create_debugfs(struct mhi_controller *mhi_cntrl)
|
||||
{
|
||||
mhi_cntrl->debugfs_dentry =
|
||||
debugfs_create_dir(dev_name(mhi_cntrl->cntrl_dev),
|
||||
debugfs_create_dir(dev_name(&mhi_cntrl->mhi_dev->dev),
|
||||
mhi_debugfs_root);
|
||||
|
||||
debugfs_create_file("states", 0444, mhi_cntrl->debugfs_dentry,
|
||||
|
Loading…
Reference in New Issue
Block a user