Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/watchdog/
Dwatchdog_core.c44 static struct class *watchdog_class; variable
196 wdd->dev = device_create(watchdog_class, wdd->parent, devno, in __watchdog_register_device()
245 device_destroy(watchdog_class, devno); in __watchdog_unregister_device()
290 watchdog_class = class_create(THIS_MODULE, "watchdog"); in watchdog_init()
291 if (IS_ERR(watchdog_class)) { in watchdog_init()
293 return PTR_ERR(watchdog_class); in watchdog_init()
298 class_destroy(watchdog_class); in watchdog_init()
309 class_destroy(watchdog_class); in watchdog_exit()