]> git.baikalelectronics.ru Git - kernel.git/commit
lib: devres: Add managed arch_io_reserve_memtype_wc()
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 16 Sep 2021 18:15:58 +0000 (20:15 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 23 Sep 2021 07:25:59 +0000 (09:25 +0200)
commit55d8edfb827427dc2e96044017a055bc80715ca0
treef335ea75047366a1ad7d052e820da101466c71ad
parent47edede5b3086160211d946d742db22ec00ed633
lib: devres: Add managed arch_io_reserve_memtype_wc()

Add devm_arch_io_reserve_memtype_wc() as managed wrapper around
arch_io_reserve_memtype_wc(). 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-3-tzimmermann@suse.de
include/linux/io.h
lib/devres.c