Re: [PATCH v3 02/10] watchdog: wdt-uclass.c: introduce struct wdt_priv

2021-07-05 Thread Stefan Roese
On 02.07.21 14:45, Rasmus Villemoes wrote: As preparation for having the wdt-uclass provided watchdog_reset() function handle all DM watchdog devices, and not just the first such, introduce a uclass-owned struct to hold the reset_period and next_reset, so these become per-device instead of being

[PATCH v3 02/10] watchdog: wdt-uclass.c: introduce struct wdt_priv

2021-07-02 Thread Rasmus Villemoes
As preparation for having the wdt-uclass provided watchdog_reset() function handle all DM watchdog devices, and not just the first such, introduce a uclass-owned struct to hold the reset_period and next_reset, so these become per-device instead of being static variables. No functional change