]> www.infradead.org Git - users/jedix/linux-maple.git/commit
watchdog: Convert to use device property
authorGuenter Roeck <linux@roeck-us.net>
Tue, 11 Mar 2025 14:10:09 +0000 (07:10 -0700)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Tue, 11 Mar 2025 14:52:51 +0000 (15:52 +0100)
commit594e1e368f09cea198f991ab122dd72ed559a383
tree971223a3d88a96cf36330c97607cab3551eb2231
parent0ccd5d56e6b2f342096a362ac24785d4be9c64a2
watchdog: Convert to use device property

Use device_property_read_u32() instead of of_property_read_u32() to support
reading the timeout from non-devicetree sources.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20250311141009.756975-1-linux@roeck-us.net
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/watchdog_core.c