[PATCH] drm/sysfs: update outdated comment for renamed drm_sysfs_connector_status_event()

Kexin Sun posted 1 patch 1 week, 6 days ago
drivers/gpu/drm/drm_sysfs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] drm/sysfs: update outdated comment for renamed drm_sysfs_connector_status_event()
Posted by Kexin Sun 1 week, 6 days ago
The function drm_sysfs_connector_status_event() was renamed to
drm_sysfs_connector_property_event() by commit 0cf8d292ba5e
("drm/sysfs: rename drm_sysfs_connector_status_event()").  Update
the comment in drm_sysfs_hotplug_event() accordingly, including
changing "connector status change" to "connector property change"
to match the rename rationale.

Assisted-by: unnamed:deepseek-v3.2 coccinelle
Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn>
---
 drivers/gpu/drm/drm_sysfs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/drm_sysfs.c b/drivers/gpu/drm/drm_sysfs.c
index ef4e923a8728..c543249d32c3 100644
--- a/drivers/gpu/drm/drm_sysfs.c
+++ b/drivers/gpu/drm/drm_sysfs.c
@@ -438,8 +438,8 @@ void drm_sysfs_lease_event(struct drm_device *dev)
  * set HOTPLUG=1 in the uevent environment, but this could be expanded to
  * deal with other types of events.
  *
- * Any new uapi should be using the drm_sysfs_connector_status_event()
- * for uevents on connector status change.
+ * Any new uapi should be using the drm_sysfs_connector_property_event()
+ * for uevents on connector property change.
  */
 void drm_sysfs_hotplug_event(struct drm_device *dev)
 {
-- 
2.25.1