Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/watchdog/
Dcpwd.c516 const char *str_prop; in cpwd_probe() local
552 str_prop = of_get_property(options, "watchdog-timeout", NULL); in cpwd_probe()
553 if (str_prop) in cpwd_probe()
554 p->timeout = simple_strtoul(str_prop, NULL, 10); in cpwd_probe()
562 str_prop = of_get_property(op->dev.of_node, "model", NULL); in cpwd_probe()
563 p->broken = (str_prop && !strcmp(str_prop, WD_BADMODEL)); in cpwd_probe()