media: smiapp: Refactor reading SMIA limits
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 6 Feb 2020 22:11:46 +0000 (19:11 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 27 Feb 2020 20:48:34 +0000 (17:48 -0300)
commit354d5aba6683c41962b591c9b6832a49b160bb46
treed8eeaf75f325a312bb72a1f73abc3d060ba6c43c
parent1cbe6ddb9faa9f401ff9f986309a03ba4a4dd59f
media: smiapp: Refactor reading SMIA limits

Combine the two trivial functions reading limits into one. Also rename
smiapp_get_all_limits() as smiapp_read_all_smia_limits().

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/smiapp/smiapp-core.c