Re: [PATCH] drm/tegra: sor: No need to free devm_ allocated memory

From: Thierry Reding
Date: Mon Nov 07 2016 - 07:06:06 EST


On Sat, Sep 24, 2016 at 10:07:30PM +0200, Christophe JAILLET wrote:
> 'brick' has been allocated by 'devm_kzalloc', so there is no need here to
> free it explicitly.
> There is only one caller of 'tegra_clk_sor_brick_register()'. This function
> is a probe function which correctly checks and handles the return value of
> 'tegra_clk_sor_brick_register()'.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> ---
> drivers/gpu/drm/tegra/sor.c | 2 --
> 1 file changed, 2 deletions(-)

Applied, with a slightly reworded commit message.

Thanks,
Thierry

Attachment: signature.asc
Description: PGP signature