Re: [PATCH] power_supply: Adjust devm usage
From: Sebastian Reichel
Date: Mon Aug 03 2015 - 13:30:03 EST
Hi,
On Sun, Aug 02, 2015 at 08:53:43AM +0200, Pavel Machek wrote:
> On Fri 2015-07-24 17:28:13, Vaishali Thakkar wrote:
> > Use devm_kasprintf instead of kasprintf. Also, remove various
> > gotos by direct returns and drop unneeded label err_free_name.
>
> What happens if some /sys file is still open when the device is
> removed?
There is currently discussion about this on LKML:
https://lkml.org/lkml/2015/7/15/731
-- Sebastian
Attachment:
signature.asc
Description: Digital signature