aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/imx/imx-tve.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2015-02-04 10:58:53 +0000
committerDaniel Vetter <[email protected]>2015-02-04 14:02:00 +0000
commit335f1a62c5a6334c4fc92c3c448d7648408d9b83 (patch)
treea63ab28ab410d3d0406e1e75f7d47bde73007bf7 /drivers/gpu/drm/imx/imx-tve.c
parentdrm: remove DRM_FORMAT_NV12MT (diff)
downloadkernel-335f1a62c5a6334c4fc92c3c448d7648408d9b83.tar.gz
kernel-335f1a62c5a6334c4fc92c3c448d7648408d9b83.zip
drm: Use static attribute groups for managing connector sysfs entries
Instead of manual calls of device_create_file() and device_remove_file(), assign the static attribute groups to the device with device_create_with_groups(). The conditionally built sysfs entries are handled via is_visible callback. This simplifies the code and also avoids the possible races. Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/imx/imx-tve.c')
0 files changed, 0 insertions, 0 deletions