drm/ast: Fix missing conversions to managed API
authorTakashi Iwai <tiwai@suse.de>
Wed, 21 Apr 2021 17:04:58 +0000 (19:04 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 26 Apr 2021 17:53:58 +0000 (19:53 +0200)
commit9ea172a9a3f4a7c5e876469509fc18ddefc7d49d
tree3361ac3b1906e56da0c920ae62f8154230b769c5
parent304a351957fccf0b2bb05c8c6e4097e9b1276ace
drm/ast: Fix missing conversions to managed API

The commit 7cbb93d89838 ("drm/ast: Use managed pci functions")
converted a few PCI accessors to the managed API and dropped the
manual pci_iounmap() calls, but it seems to have forgotten converting
pci_iomap() to the managed one.  It resulted in the leftover resources
after the driver unbind.  Let's fix them.

Fixes: 7cbb93d89838 ("drm/ast: Use managed pci functions")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210421170458.21178-1-tiwai@suse.de
drivers/gpu/drm/ast/ast_main.c