Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/bridge: ti-sn65dsi86: use dev name for debugfs

This should be more future-proof if we ever encounter a device with two
of these bridges.

Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190706203105.7810-1-robdclark@gmail.com

authored by

Rob Clark and committed by
Andrzej Hajda
66a639cb 0a869e8d

+1 -1
+1 -1
drivers/gpu/drm/bridge/ti-sn65dsi86.c
··· 182 182 183 183 static void ti_sn_debugfs_init(struct ti_sn_bridge *pdata) 184 184 { 185 - pdata->debugfs = debugfs_create_dir("ti_sn65dsi86", NULL); 185 + pdata->debugfs = debugfs_create_dir(dev_name(pdata->dev), NULL); 186 186 187 187 debugfs_create_file("status", 0600, pdata->debugfs, pdata, 188 188 &status_fops);