Re: [PATCH] rtc: m41t80: return NULL rather than a plain 0 integer
From: Alexandre Belloni
Date: Fri Oct 01 2021 - 17:42:22 EST
On Sat, 25 Sep 2021 23:34:41 +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Function m41t80_sqw_register_clk returns a pointer to struct clk,
> so returning a plain 0 integer isn't good practice. Fix this by
> returning a NULL instead.
>
>
> [...]
Applied, thanks!
[1/1] rtc: m41t80: return NULL rather than a plain 0 integer
commit: 7caadcfa8a7c6f8e754d982b99d959a222e7f863
Best regards,
--
Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>