On Tue, Sep 04, 2012 at 11:20:10AM +0800, Dong Aisheng wrote: > + > + anatop_np = of_get_parent(np); > + if (!anatop_np) > + return -ENODEV; > + sreg->anatop = syscon_node_to_regmap(anatop_np); > + if (IS_ERR(sreg->anatop)) > + return PTR_ERR(sreg->anatop); > + With of_node_put moved out from syscon_node_to_regmap, shouldn't we put anatop_np here then?
-- Regards, Shawn _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
