Re: [PATCH v3 1/2] regulator: anatop-regulator: Fix the errorhandling on probe

From: Mark Brown
Date: Tue Dec 24 2013 - 08:04:19 EST


On Mon, Dec 23, 2013 at 12:44:40PM -0200, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
>
> Currently when of_get_parent() or syscon_node_to_regmap() fail
> 'kfree(sreg->name)' is not called, which is incorrect.

Applied both, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/