linux-sg2042/drivers/gpu/drm/atmel-hlcdc
Nicolas Iooss e112e593b2 drm: use dev_name as default unique name in drm_dev_alloc()
The following code pattern exists in some DRM drivers:

    ddev = drm_dev_alloc(&driver, parent_dev);
    drm_dev_set_unique(ddev, dev_name(parent_dev));

(Sometimes dev_name(ddev->dev) is used, which is the same.)

As suggested in
http://lists.freedesktop.org/archives/dri-devel/2015-December/096441.html,
the unique name of a new DRM device can be set as dev_name(parent_dev)
when parent_dev is not NULL (vgem is a special case).

Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2015-12-15 13:56:06 +01:00
..
Kconfig drm: atmel-hlcdc: Add dependency on ARM 2015-01-31 10:14:28 +10:00
Makefile
atmel_hlcdc_crtc.c drm: Pass 'name' to drm_crtc_init_with_planes() 2015-12-11 09:12:44 +01:00
atmel_hlcdc_dc.c drm: use dev_name as default unique name in drm_dev_alloc() 2015-12-15 13:56:06 +01:00
atmel_hlcdc_dc.h drm: atmel-hlcdc: use appropriate enabled flag in suspend/resume 2015-03-16 16:10:42 +01:00
atmel_hlcdc_layer.c Linux 4.0-rc3 2015-03-09 19:58:30 +10:00
atmel_hlcdc_layer.h drm: atmel-hlcdc: Atomic mode-setting conversion 2015-02-22 21:00:06 +01:00
atmel_hlcdc_output.c drm/atmel-hlcdc: Constify function pointer structs 2015-12-15 13:42:27 +01:00
atmel_hlcdc_plane.c drm: Pass 'name' to drm_universal_plane_init() 2015-12-11 09:13:10 +01:00