lkml.org 
[lkml]   [2023]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/3] watchdog: Simplify using devm_watchdog_register_device()
On 3/6/23 09:08, Uwe Kleine-König wrote:
> Hello,
>
> this series converts three drivers to use
> devm_watchdog_register_device(). This allows to drop their remove
> callback.
>

Side note: We could do more of the same by also replacing pm_runtime_enable()
with devm_pm_runtime_enable(), only I don't know if the additional
call to pm_runtime_dont_use_autosuspend() in its disable callback would
be a functional change. I also don't know if pm_runtime_put() in the remove
function is necessary or if it even makes sense. Any idea ?

Thanks,
Guenter

> Best regards
> Uwe
>
> Uwe Kleine-König (3):
> watchdog: bcm47xx: Simplify using devm_watchdog_register_device()
> watchdog: rn5t618: Simplify using devm_watchdog_register_device()
> watchdog: wm8350: Simplify using devm_watchdog_register_device()
>
> drivers/watchdog/bcm47xx_wdt.c | 12 +-----------
> drivers/watchdog/rn5t618_wdt.c | 12 +-----------
> drivers/watchdog/wm8350_wdt.c | 9 +--------
> 3 files changed, 3 insertions(+), 30 deletions(-)
>
>
> base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6

\
 
 \ /
  Last update: 2023-03-27 00:46    [W:0.182 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site