summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-brcmstb.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-07-06 21:35:41 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-07-19 09:36:43 +0300
commited641dc98dd624dfa12824611e339c6499e5f9fe (patch)
tree14010e66b17715ee4170e418927f78eda616262c /drivers/pwm/pwm-brcmstb.c
parent9704762aed23aa0eb9fc88454c7ce423471bcb3a (diff)
downloadlinux-ed641dc98dd624dfa12824611e339c6499e5f9fe.tar.xz
media: ti-vpe: cal: Remove static const cal_regmap_config template
The global static const cal_regmap_config template is only used in a single location, to initialize 3 fields of a local variable. Two of those fields then get overwritten. Remove the template and set the last remaining field manually. Simplify the code by hardcoding the field values instead of calculating them for a variable that always has the same value. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Benoit Parrot <bparrot@ti.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/pwm/pwm-brcmstb.c')
0 files changed, 0 insertions, 0 deletions