]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: panel-dsi-cm: use DEVICE_ATTR_RO
authorSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 15 Dec 2020 10:46:08 +0000 (12:46 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 15 Dec 2020 14:08:24 +0000 (16:08 +0200)
commit5ea779a1f410b6fbfa27e6d9582aa11b50eef1a4
treefbb251081db2abcdd4fed1ab77532a45a1156167
parente648282de60e083ce67d9a9af861159c6b8cf9bc
drm/omap: panel-dsi-cm: use DEVICE_ATTR_RO

Use DEVICE_ATTR_RO helper instead of plain DEVICE_ATTR,
which makes the code a bit shorter and easier to read.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201215104657.802264-36-tomi.valkeinen@ti.com
drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c