Re: [RESEND] rtc: rv3028: Fix codestyle errors
From: Alexandre Belloni
Date: Thu Oct 13 2022 - 17:37:37 EST
On Sat, 8 Oct 2022 15:13:21 +0800, Ke Sun wrote:
> Compiler warnings:
>
> drivers/rtc/rtc-rv3028.c: In function 'rv3028_param_set':
> drivers/rtc/rtc-rv3028.c:559:20: warning: statement will never be executed [-Wswitch-unreachable]
> 559 | u8 mode;
> | ^~~~
> drivers/rtc/rtc-rv3028.c: In function 'rv3028_param_get':
> drivers/rtc/rtc-rv3028.c:526:21: warning: statement will never be executed [-Wswitch-unreachable]
> 526 | u32 value;
> | ^~~~~
>
> [...]
Applied, thanks!
[1/1] rtc: rv3028: Fix codestyle errors
commit: e5f12a398371280649ccc9d6eb0b97fd42a5df98
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com