Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/display: Fix spelling of axis in modules/color/color_gamma.c

Use axis instead of axix

Signed-off-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Krunoslav Kovac and committed by
Alex Deucher
71f7f3e0 02e056e8

+8 -8
+8 -8
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
··· 1761 1761 1762 1762 struct pwl_float_data *rgb_user = NULL; 1763 1763 struct pwl_float_data_ex *curve = NULL; 1764 - struct gamma_pixel *axix_x = NULL; 1764 + struct gamma_pixel *axis_x = NULL; 1765 1765 struct pixel_gamma_point *coeff = NULL; 1766 1766 enum dc_transfer_func_predefined tf = TRANSFER_FUNCTION_SRGB; 1767 1767 bool ret = false; ··· 1787 1787 GFP_KERNEL); 1788 1788 if (!curve) 1789 1789 goto curve_alloc_fail; 1790 - axix_x = kvcalloc(ramp->num_entries + _EXTRA_POINTS, sizeof(*axix_x), 1790 + axis_x = kvcalloc(ramp->num_entries + _EXTRA_POINTS, sizeof(*axis_x), 1791 1791 GFP_KERNEL); 1792 - if (!axix_x) 1793 - goto axix_x_alloc_fail; 1792 + if (!axis_x) 1793 + goto axis_x_alloc_fail; 1794 1794 coeff = kvcalloc(MAX_HW_POINTS + _EXTRA_POINTS, sizeof(*coeff), 1795 1795 GFP_KERNEL); 1796 1796 if (!coeff) ··· 1803 1803 tf = input_tf->tf; 1804 1804 1805 1805 build_evenly_distributed_points( 1806 - axix_x, 1806 + axis_x, 1807 1807 ramp->num_entries, 1808 1808 dividers); 1809 1809 ··· 1828 1828 tf_pts->x_point_at_y1_blue = 1; 1829 1829 1830 1830 map_regamma_hw_to_x_user(ramp, coeff, rgb_user, 1831 - coordinates_x, axix_x, curve, 1831 + coordinates_x, axis_x, curve, 1832 1832 MAX_HW_POINTS, tf_pts, 1833 1833 mapUserRamp && ramp->type != GAMMA_CUSTOM); 1834 1834 if (ramp->type == GAMMA_CUSTOM) ··· 1838 1838 1839 1839 kvfree(coeff); 1840 1840 coeff_alloc_fail: 1841 - kvfree(axix_x); 1842 - axix_x_alloc_fail: 1841 + kvfree(axis_x); 1842 + axis_x_alloc_fail: 1843 1843 kvfree(curve); 1844 1844 curve_alloc_fail: 1845 1845 kvfree(rgb_user);