]> git.baikalelectronics.ru Git - kernel.git/commit
lib: devres: Add managed arch_phys_wc_add()
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 16 Sep 2021 18:15:57 +0000 (20:15 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 23 Sep 2021 07:25:30 +0000 (09:25 +0200)
commit47edede5b3086160211d946d742db22ec00ed633
tree3298b13ffec3213c09f0d0dac094aca72f24e2e1
parentd7200f30204a7a3ff1aff9fec4b493a90ea3e963
lib: devres: Add managed arch_phys_wc_add()

Add devm_arch_phys_wc_add() as managed wrapper around arch_phys_wc_add().
Useful for several graphics drivers that set framebuffer memory to write
combining.

v2:
* fix typo in commit description

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210916181601.9146-2-tzimmermann@suse.de
include/linux/io.h
lib/devres.c