Just a cleanup nothing special. Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx> --- drivers/of/base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/base.c b/drivers/of/base.c index ea2a88764b..2eee1279a9 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -32,7 +32,7 @@ bool of_node_name_eq(const struct device_node *np, const char *name) return false; node_name = kbasename(np->full_name); - len = strchrnul(node_name, '@') - node_name; + len = strchrnul(node_name, '@') - node_name; return (strlen(name) == len) && (strncmp(node_name, name, len) == 0); } -- 2.30.2