Re: [PATCH v3 1/2] rtc: m48t59: Use platform_data struct for year offset value
From: Geert Uytterhoeven
Date: Tue Oct 08 2024 - 05:19:37 EST
On Tue, Oct 8, 2024 at 11:01 AM Finn Thain <fthain@xxxxxxxxxxxxxx> wrote:
> Instead of hard-coded values and ifdefs, store the year offset in the
> platform_data struct.
>
> Tested-by: Daniel Palmer <daniel@xxxxxxxx>
> Signed-off-by: Finn Thain <fthain@xxxxxxxxxxxxxx>
> ---
> I tested this for regressions using qemu-system-sparc64.
> Also, Daniel tested the RTC functionality on his MVME147 system.
>
> Changed since v2:
> - Use an int for the year offset in struct m48t59_plat_data.
Reviewed-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds