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

2021-08-02 Thread Stefan Roese
On 02.08.21 17:00, 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 v4 02/10] watchdog: wdt-uclass.c: introduce struct wdt_priv

2021-08-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 inten