projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c231355
)
drm: struct device - replace bus_id with dev_name(), dev_set_name()
author
Kay Sievers
<kay.sievers@vrfy.org>
Tue, 24 Mar 2009 23:38:22 +0000
(16:38 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 24 Mar 2009 23:38:22 +0000
(16:38 -0700)
Cc: airlied@linux.ie
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
drivers/gpu/drm/drm_sysfs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/drm_sysfs.c
b/drivers/gpu/drm/drm_sysfs.c
index 5aa6780652aa8d920d3591e8f99370a2d677c770..186d08159d4871560291e8cf8eccfffd6ebcfa0e 100644
(file)
--- a/
drivers/gpu/drm/drm_sysfs.c
+++ b/
drivers/gpu/drm/drm_sysfs.c
@@
-359,8
+359,8
@@
int drm_sysfs_connector_add(struct drm_connector *connector)
DRM_DEBUG("adding \"%s\" to sysfs\n",
drm_get_connector_name(connector));
-
snprintf(connector->kdev.bus_id, BUS_ID_SIZE
, "card%d-%s",
- dev->primary->index, drm_get_connector_name(connector));
+
dev_set_name(&connector->kdev
, "card%d-%s",
+
dev->primary->index, drm_get_connector_name(connector));
ret = device_register(&connector->kdev);
if (ret) {