[PATCH v6 4/4] mfd: intel-lpss: Switch to debugfs_remove()

From: Maria Lisina

Date: Wed Sep 16 2026 - 10:46:06 EST


debugfs_remove_recursive() is deprecated and has become
a macro for debugfs_remove(), replace it with the direct
debugfs_remove() call instead.

Signed-off-by: Maria Lisina <sekoohaka.sarisan@xxxxxxxxx>
---
drivers/mfd/intel-lpss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/intel-lpss.c b/drivers/mfd/intel-lpss.c
index f1a8feb0fdf2042a3b6a8422400cb8f9511b4876..beb01252f9021bbf40b293c81181b29e9b61bf56 100644
--- a/drivers/mfd/intel-lpss.c
+++ b/drivers/mfd/intel-lpss.c
@@ -160,7 +160,7 @@ static void intel_lpss_debugfs_add(struct intel_lpss *lpss)

static void intel_lpss_debugfs_remove(struct intel_lpss *lpss)
{
- debugfs_remove_recursive(lpss->debugfs);
+ debugfs_remove(lpss->debugfs);
}

static void intel_lpss_ltr_set(struct device *dev, s32 val)

--
2.47.3