Skip to content

Commit

Permalink
drm/bridge: ti-sn65dsi86: use dev name for debugfs
Browse files Browse the repository at this point in the history
This should be more future-proof if we ever encounter a device with two
of these bridges.

Suggested-by: Laurent Pinchart <[email protected]>
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Signed-off-by: Andrzej Hajda <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
  • Loading branch information
robclark authored and Andrzej Hajda committed Jul 16, 2019
1 parent 0a869e8 commit 66a639c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/bridge/ti-sn65dsi86.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ DEFINE_SHOW_ATTRIBUTE(status);

static void ti_sn_debugfs_init(struct ti_sn_bridge *pdata)
{
pdata->debugfs = debugfs_create_dir("ti_sn65dsi86", NULL);
pdata->debugfs = debugfs_create_dir(dev_name(pdata->dev), NULL);

debugfs_create_file("status", 0600, pdata->debugfs, pdata,
&status_fops);
Expand Down

0 comments on commit 66a639c

Please sign in to comment.