drm/amd/display: Use kfree() to free rgb_user in calculate_user_regamma_ramp()
authorDenis Efremov <efremov@linux.com>
Fri, 5 Jun 2020 17:37:44 +0000 (20:37 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:17 +0000 (01:59 -0400)
commit1e814d630fd1933308fc89a8aa6072afe88f6386
tree1f5f29e8b657743da7b20ba9cfb09e5a0df3633c
parent8425400759749e23aaa831f2482b96211201af33
drm/amd/display: Use kfree() to free rgb_user in calculate_user_regamma_ramp()

Use kfree() instead of kvfree() to free rgb_user in
calculate_user_regamma_ramp() because the memory is allocated with
kcalloc().

Signed-off-by: Denis Efremov <efremov@linux.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/color/color_gamma.c