Re: [PATCH] power_supply: Adjust devm usage
From: Frans Klaver
Date: Fri Jul 24 2015 - 08:17:12 EST
Hi,
On Fri, Jul 24, 2015 at 1:58 PM, Vaishali Thakkar
<vthakkar1994@xxxxxxxxx> wrote:
> Use devm_kasprintf instead of kasprintf. Also, remove various
> gotos by direct returns and drop unneeded label err_free_name.
If there's to be a respin, reword this so that it becomes clearer that
removing the various gotos and the label is an effect of using
devm_kasprintf here. I started out thinking that this patch did two
things.
Frans
--
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/