summaryrefslogtreecommitdiff
path: root/Documentation/driver-model/devres.txt
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2019-02-25 15:42:27 +0100
committerNoralf Trønnes <noralf@tronnes.org>2019-03-04 15:23:05 +0100
commit9b1f1b6b784302950f7eed73011df85501509e1d (patch)
tree032ab34468019b0f059468c8f6c53ea87889f535 /Documentation/driver-model/devres.txt
parent56be6503aab2bc3a30beae408071b9be5e1bae51 (diff)
downloadlwn-9b1f1b6b784302950f7eed73011df85501509e1d.tar.gz
lwn-9b1f1b6b784302950f7eed73011df85501509e1d.zip
drm: Add devm_drm_dev_init()
This adds a resource managed (devres) version of drm_dev_init(). v2: Remove devm_drm_dev_register() since we can't touch hw in devm release functions and drivers want to disable hw on driver module unload (Daniel Vetter, Greg KH) Cc: Daniel Vetter <daniel@ffwll.ch> Cc: Greg KH <gregkh@linuxfoundation.org> Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190225144232.20761-3-noralf@tronnes.org
Diffstat (limited to 'Documentation/driver-model/devres.txt')
-rw-r--r--Documentation/driver-model/devres.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt
index b277cafce71e..351b7ac65a1e 100644
--- a/Documentation/driver-model/devres.txt
+++ b/Documentation/driver-model/devres.txt
@@ -254,6 +254,9 @@ DMA
dmam_pool_create()
dmam_pool_destroy()
+DRM
+ devm_drm_dev_init()
+
GPIO
devm_gpiod_get()
devm_gpiod_get_index()