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

Thierry Reding thierry.reding at gmail.com
Mon Nov 7 12:05:56 UTC 2016


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 at wanadoo.fr>
> ---
>  drivers/gpu/drm/tegra/sor.c | 2 --
>  1 file changed, 2 deletions(-)

Applied, with a slightly reworded commit message.

Thanks,
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161107/49843cca/attachment.sig>


More information about the dri-devel mailing list