]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit41b7012367cd0d64401b96748126662565906883
tree4fb83b3208cab05d944d0b32b61409e699c1da9e
parent78b1a731ba3c00d039685e1ec81084e428ca077d
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