Home
last modified time | relevance | path

Searched refs:watchdog_class (Results 1 – 1 of 1) sorted by relevance

/linux-4.1.27/drivers/watchdog/
Dwatchdog_core.c44 static struct class *watchdog_class; variable
156 wdd->dev = device_create(watchdog_class, wdd->parent, devno, in watchdog_register_device()
188 device_destroy(watchdog_class, devno); in watchdog_unregister_device()
198 watchdog_class = class_create(THIS_MODULE, "watchdog"); in watchdog_init()
199 if (IS_ERR(watchdog_class)) { in watchdog_init()
201 return PTR_ERR(watchdog_class); in watchdog_init()
206 class_destroy(watchdog_class); in watchdog_init()
216 class_destroy(watchdog_class); in watchdog_exit()