diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2019-02-25 15:42:27 +0100 |
---|---|---|
committer | Noralf Trønnes <noralf@tronnes.org> | 2019-03-04 15:23:05 +0100 |
commit | 9b1f1b6b784302950f7eed73011df85501509e1d (patch) | |
tree | 032ab34468019b0f059468c8f6c53ea87889f535 /Documentation/driver-model | |
parent | 56be6503aab2bc3a30beae408071b9be5e1bae51 (diff) | |
download | linux-stable-9b1f1b6b784302950f7eed73011df85501509e1d.tar.gz linux-stable-9b1f1b6b784302950f7eed73011df85501509e1d.tar.bz2 linux-stable-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')
-rw-r--r-- | Documentation/driver-model/devres.txt | 3 |
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() |