Home
last modified time | relevance | path

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

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