[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK5ve-L54nmDX_HLPpfWQrTe=n11RFr5hyUFFcc-1otWPQde7Q@mail.gmail.com>
Date: Mon, 10 Feb 2014 09:37:29 -0800
From: Bryan Wu <cooloney@...il.com>
To: Lee Jones <lee.jones@...aro.org>
Cc: Jingoo Han <jg1.han@...sung.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Levente Kurusa <levex@...ux.com>,
LKML <linux-kernel@...r.kernel.org>,
Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
Tomi Valkeinen <tomi.valkeinen@...com>,
FBDEV list <linux-fbdev@...r.kernel.org>
Subject: Re: [PATCH] backlight: replace kfree with put_device
On Mon, Feb 10, 2014 at 3:13 AM, Lee Jones <lee.jones@...aro.org> wrote:
>> > As per the comments on device_register, we shouldn't call kfree()
>> > right after a device_register() failure. Instead call put_device(),
>> > which in turn will call bl_device_release resulting in a kfree to the
>> > full structure.
>> >
>> > Signed-off-by: Levente Kurusa <levex@...ux.com>
>>
>> (+cc Bryan Wu, Lee Jones)
>>
>> Acked-by: Jingoo Han <jg1.han@...sung.com>
>
> Applied to temporary Backlight repo [1], thanks.
>
> [1] git://git.linaro.org/people/lee.jones/backlight.git
>
Great, I think we can put the Git URL into the MAINTAINS file for
Backlight subsystem after your finalize the git repo.
Thanks,
-Bryan
> --
> Lee Jones
> Linaro STMicroelectronics Landing Team Lead
> Linaro.org │ Open source software for ARM SoCs
> Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists