]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: tv: Rename error label
authorMaxime Ripard <maxime@cerno.tech>
Mon, 29 Aug 2022 13:11:53 +0000 (15:11 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 7 Sep 2022 08:30:41 +0000 (10:30 +0200)
commit2833f9d9a9be31c469a4868c7d7c2de3a327e9b8
tree3343f1c56ff56fc63c0c423a4c7a9e719a212472
parenta773796f7a7bfd8706939d64c8ae33a749a97269
drm/sun4i: tv: Rename error label

The other error labels in sun4i_tv_bind() are named after the task they
perform (err_disable_clk to call clk_disable_unprepare for example).

However, the err_cleanup_connector is named after the calling site
(drm_connector_init failing) and will actually cleanup the encoder. Let's
rename it to err_cleanup_encoder to be consistent.

Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220728-rpi-analog-tv-properties-v2-39-459522d653a7@cerno.tech
drivers/gpu/drm/sun4i/sun4i_tv.c