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

2016-11-07 Thread Thierry Reding
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 handle

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

2016-09-24 Thread Christophe JAILLET
'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: Chri