Revert "bus: integrator-lm: fix OF node leak in probe()"

This reverts commit b8e4ab07be.
This commit is contained in:
Ksawlii 2024-11-24 00:23:16 +01:00
parent 3126ee2f26
commit 6781466fba

View file

@ -84,7 +84,6 @@ static int integrator_ap_lm_probe(struct platform_device *pdev)
return -ENODEV; return -ENODEV;
} }
map = syscon_node_to_regmap(syscon); map = syscon_node_to_regmap(syscon);
of_node_put(syscon);
if (IS_ERR(map)) { if (IS_ERR(map)) {
dev_err(dev, dev_err(dev,
"could not find Integrator/AP system controller\n"); "could not find Integrator/AP system controller\n");