[PATCH] bus: ti-sysc: update outdated comment

Kexin Sun posted 1 patch 3 weeks, 6 days ago
drivers/bus/ti-sysc.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
[PATCH] bus: ti-sysc: update outdated comment
Posted by Kexin Sun 3 weeks, 6 days ago
clkdev_alloc() was removed by commit 5617c9125bb6 ("clkdev: remove
unused clkdev_alloc() interfaces"). Update the comment accordingly.

Assisted-by: unnamed:deepseek-v3.2 coccinelle
Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn>
---
 drivers/bus/ti-sysc.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c
index a5b9507de37c..e3a5241d3186 100644
--- a/drivers/bus/ti-sysc.c
+++ b/drivers/bus/ti-sysc.c
@@ -350,9 +350,8 @@ static int sysc_add_named_clock_from_child(struct sysc *ddata,
 		return PTR_ERR(clock);
 
 	/*
-	 * Use clkdev_add() instead of clkdev_alloc() to avoid the MAX_DEV_ID
-	 * limit for clk_get(). If cl ever needs to be freed, it should be done
-	 * with clkdev_drop().
+	 * Use clkdev_add() to avoid the MAX_DEV_ID limit for clk_get().
+	 * If cl ever needs to be freed, it should be done with clkdev_drop().
 	 */
 	cl = kzalloc_obj(*cl);
 	if (!cl)
-- 
2.25.1