]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: dsi: Simplify debugfs implementation
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 1 Mar 2018 22:40:04 +0000 (00:40 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 3 Sep 2018 13:13:26 +0000 (16:13 +0300)
commit997304635cd161f9d3fd5c0f7cadfa45f88af214
tree8eb0253473bc8ecc73bbf0c698de0a4e4722072a
parentcefbe21c3a23f9e2e87fc774bd1ce0da872f7013
drm/omap: dsi: Simplify debugfs implementation

The DSI debugfs regs and irqs show handlers received a pointer to the
DSI private data. There's no need to look it up from the list of DSS
outputs. Use the pointer directly, this allows simplifying the
implementation of the handlers.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/dss/dsi.c