soc: sunxi: sram: Return void from the release function
authorSamuel Holland <samuel@sholland.org>
Mon, 15 Aug 2022 04:12:44 +0000 (23:12 -0500)
committerJernej Skrabec <jernej.skrabec@gmail.com>
Sun, 18 Sep 2022 20:54:02 +0000 (22:54 +0200)
commit460d9cb62f7fe82cc835d6b3924a8d06fd2d510a
tree4fb83b3208cab05d944d0b32b61409e699c1da9e
parente3c95edb1bd8b9c2cb0caa6ae382fc8080f6a0ed
soc: sunxi: sram: Return void from the release function

There is no point in returning an error here, as the caller can do
nothing about it. In fact, all callers already ignore the return value.

Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20220815041248.53268-8-samuel@sholland.org
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
drivers/soc/sunxi/sunxi_sram.c
include/linux/soc/sunxi/sunxi_sram.h