In grcan_probe(), of_find_node_by_path() has already increased the refcount. There is no need to call of_node_get() again, so remove it.
Unified · Split
| @@ -1646,7 +1646,6 @@ static int grcan_probe(struct platform_device *ofdev) · 1645 unmodified lines | ||
| 1646 | 1646 | */ |
| 1647 | 1647 | sysid_parent = of_find_node_by_path("/ambapp0"); |
| 1648 | 1648 | if (sysid_parent) { |
| 1649 | − of_node_get(sysid_parent); | |
| 1650 | 1649 | err = of_property_read_u32(sysid_parent, "systemid", &sysid); |
| 1651 | 1650 | if (!err && ((sysid & GRLIB_VERSION_MASK) >= |
| 1652 | 1651 | GRCAN_TXBUG_SAFE_GRLIB_VERSION)) |