mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-25 19:14:39 +08:00
faa584757b
The Zodiac watchdog driver attaches additional sysfs attributes to the watchdog device. This has a number of problems: The watchdog device lifetime differs from the driver lifetime, and the device structure should therefore not be accessed from drivers. Also, creating sysfs attributes after driver registration results in a potential race condition if user space expects the attributes to exist but they don't exist yet. Add support for creating driver specific sysfs attributes to the watchdog core to solve the problems. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be> |
||
---|---|---|
.. | ||
src | ||
convert_drivers_to_kernel_api.txt | ||
hpwdt.txt | ||
Makefile | ||
pcwd-watchdog.txt | ||
watchdog-api.txt | ||
watchdog-kernel-api.txt | ||
watchdog-parameters.txt | ||
wdt.txt |