media: v4l: common: Fix naming of v4l2_get_link_rate
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 17 Dec 2020 17:57:05 +0000 (18:57 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 7 Jan 2021 14:47:52 +0000 (15:47 +0100)
commit2984a99ff1c071c85dc09451c8adc859c22fbb96
tree08aa05fb3cb7dd1129a780bc7f43186a0a35aa24
parente99a8f0f6344fee25cd30907c30ac0ca2f02804d
media: v4l: common: Fix naming of v4l2_get_link_rate

Rename v4l2_get_link_rate() as v4l2_get_link_freq(). What the function
returns is the frequency of the link; rename it to reflect the name of the
control where the information is obtained.

Fixes: 1b888b3cebef ("media: v4l: Add a helper for obtaining the link frequency")
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/pci/intel/ipu3/ipu3-cio2.c
drivers/media/v4l2-core/v4l2-common.c
include/media/v4l2-common.h