summaryrefslogtreecommitdiff
path: root/drivers/ntb
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-07-06 20:35:56 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-07-19 08:47:29 +0200
commitf3ca1f9db5b9f3c0d3b3bf890ae92791852aff37 (patch)
treef9aaa3892fd6f98c68fdc624b636db9436d4bb25 /drivers/ntb
parent825800dc2250ce278fafc24c0cfd4d76d1b51cc3 (diff)
downloadlwn-f3ca1f9db5b9f3c0d3b3bf890ae92791852aff37.tar.gz
lwn-f3ca1f9db5b9f3c0d3b3bf890ae92791852aff37.zip
media: ti-vpe: cal: Inline cal_data_get_num_csi2_phy() in its caller
The cal_data_get_num_csi2_phy() function simply returns cal->data->num_csi2_phy, and is not consistently used across the driver, as most accesses to cal->data->num_csi2_phy are open-coded. We could fix those open-coded accesses to use cal_data_get_num_csi2_phy(), but that wouldn't bring much in terms of readability, so inline cal_data_get_num_csi2_phy() in its only caller instead, and drop the function. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/ntb')
0 files changed, 0 insertions, 0 deletions