Re: [PATCH v2 1/4] hwmon: (sch56xx) Use devres functions for watchdog

Guenter Roeck
2021-05-10T15:34:59Z

On Sat, May 08, 2021 at 03:14:54PM +0200, W_Armin@gmx.de wrote:
> From: Armin Wolf <W_Armin@gmx.de>
>
> Use devm_kzalloc()/devm_watchdog_register() for
> watchdog registration since it allows us to remove
> the sch56xx_watchdog_data struct from the drivers
> own data structs.
> Remove sch56xx_watchdog_unregister since devres
> takes care of that now.
>
> Signed-off-by: Armin Wolf <W_Armin@gmx.de>

Applied, with cosmetic change.

[ ... ]
> - return data;
> + return;
> }

Dropped unnecessary return statement.

Guenter