summaryrefslogtreecommitdiff
path: root/drivers/base/dd.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-02-16 15:23:59 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-23 10:49:02 +0100
commitc654cea59dbc352fceafddd44893f3523fdcc08e (patch)
treeb9df923e2d703d148c20836caccb69e08aff544f /drivers/base/dd.c
parentbbf44abeeabfe05a124535e6c3a9fd7d682d42bf (diff)
downloadlwn-c654cea59dbc352fceafddd44893f3523fdcc08e.tar.gz
lwn-c654cea59dbc352fceafddd44893f3523fdcc08e.zip
driver core: component: remove dentry pointer in "struct master"
There is no need to keep around a pointer to a dentry when all it is used for is to remove the debugfs file when tearing things down. As the name is simple, have debugfs look up the dentry when removing things, keeping the logic much simpler. Cc: "Rafael J. Wysocki" <rafael@kernel.org> Cc: linux-kernel@vger.kernel.org Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://lore.kernel.org/r/20210216142400.3759099-1-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/dd.c')
0 files changed, 0 insertions, 0 deletions