drm: Add device registration documentation
Describe how devices are registered using the drm_*_init() functions. Adding this to docbook requires a largish set of changes to the comments in drm_{pci,usb,platform}.c since they are doxygen-style rather than proper kernel-doc and therefore mess with the docbook generation. While at it, mark usage of drm_put_dev() as discouraged in favour of calling drm_dev_unregister() and drm_dev_unref() directly. Acked-by:Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by:
Thierry Reding <treding@nvidia.com>
Showing
- Documentation/DocBook/drm.tmpl 10 additions, 0 deletionsDocumentation/DocBook/drm.tmpl
- drivers/gpu/drm/drm_pci.c 38 additions, 42 deletionsdrivers/gpu/drm/drm_pci.c
- drivers/gpu/drm/drm_platform.c 7 additions, 8 deletionsdrivers/gpu/drm/drm_platform.c
- drivers/gpu/drm/drm_stub.c 11 additions, 11 deletionsdrivers/gpu/drm/drm_stub.c
- drivers/gpu/drm/drm_usb.c 19 additions, 1 deletiondrivers/gpu/drm/drm_usb.c
Loading
Please register or sign in to comment