]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Add device registration documentation
authorThierry Reding <treding@nvidia.com>
Mon, 19 May 2014 11:39:07 +0000 (13:39 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 5 Jun 2014 21:14:38 +0000 (23:14 +0200)
commit6523fc1ed41a6f2b0cb0628a142715bb4c522ad1
tree2f50b904d0eed18320c56d81e0338a789fcd8708
parentf52b7f7f1805604fce3ec4bf0a193c728e06cf8c
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>
Documentation/DocBook/drm.tmpl
drivers/gpu/drm/drm_pci.c
drivers/gpu/drm/drm_platform.c
drivers/gpu/drm/drm_stub.c
drivers/gpu/drm/drm_usb.c