drm/connector: Rename subconnector state variable
authorMaxime Ripard <maxime@cerno.tech>
Thu, 29 Sep 2022 16:30:59 +0000 (18:30 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 10 Oct 2022 11:56:14 +0000 (13:56 +0200)
commitd0236008f833e058c6abbcbf725cfa60a4d3efc5
tree3abbc9233936f3f94e61afdc2b13c100ff3ab00b
parent05e70e32f712e9fdf8a351caf97ba60fa8b71b44
drm/connector: Rename subconnector state variable

There is two TV subconnector related properties registered by
drm_mode_create_tv_properties(): subconnector and select subconnector.

While the select subconnector property is stored in the kernel by the
drm_tv_connector_state structure, the subconnector property isn't stored
anywhere.

Worse, the select subconnector property is stored in a field called
subconnector, creating some ambiguity about which property content we're
accessing.

Let's rename that field to one called select_subconnector to make it move
obvious what it's about.

Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://lore.kernel.org/r/20220728-rpi-analog-tv-properties-v4-5-60d38873f782@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/drm_atomic_uapi.c
include/drm/drm_connector.h