uio: pruss: move simple allocations to dem_ equivalents
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Wed, 11 Nov 2020 11:22:41 +0000 (13:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Nov 2020 15:37:06 +0000 (16:37 +0100)
commitcfd3443e2d32a655871a445b3509e5df96fa7581
tree6a2ae47d639e801cb54af380de5c4edfdabdb6b7
parent439e8f6f1e5d1ca973da278499078e213dad63bb
uio: pruss: move simple allocations to dem_ equivalents

This change moves the simple allocations to their device-managed
equivalents.
This cleans up some error/exit paths.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20201111112242.62116-1-alexandru.ardelean@analog.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/uio_pruss.c