diff options
| author | Samuel Holland <[email protected]> | 2022-08-14 23:12:44 -0500 |
|---|---|---|
| committer | Jernej Skrabec <[email protected]> | 2022-09-18 22:54:02 +0200 |
| commit | 460d9cb62f7fe82cc835d6b3924a8d06fd2d510a (patch) | |
| tree | 4fb83b3208cab05d944d0b32b61409e699c1da9e /include/linux | |
| parent | e3c95edb1bd8b9c2cb0caa6ae382fc8080f6a0ed (diff) | |
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 <[email protected]>
Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Heiko Stuebner <[email protected]>
Tested-by: Heiko Stuebner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jernej Skrabec <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/soc/sunxi/sunxi_sram.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/soc/sunxi/sunxi_sram.h b/include/linux/soc/sunxi/sunxi_sram.h index c5f663bba9c2..60e274d1b821 100644 --- a/include/linux/soc/sunxi/sunxi_sram.h +++ b/include/linux/soc/sunxi/sunxi_sram.h @@ -14,6 +14,6 @@ #define _SUNXI_SRAM_H_ int sunxi_sram_claim(struct device *dev); -int sunxi_sram_release(struct device *dev); +void sunxi_sram_release(struct device *dev); #endif /* _SUNXI_SRAM_H_ */ |