diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2019-06-12 12:39:12 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-06-12 17:41:03 +0300 |
commit | b86b8473d52f307de1b9a3295492a87e6d119160 (patch) | |
tree | 8505269b9a9adbb0f28402bd2a208332dea55107 /drivers/input/touchscreen/sur40.c | |
parent | c330d371137fca9190a83f68bba2af7f64d205a0 (diff) | |
download | linux-b86b8473d52f307de1b9a3295492a87e6d119160.tar.xz |
media: hantro: allow arbitrary number of clocks
Dynamically allocate clocks and move clock names out of struct
hantro_variant. This lifts the four clock limit and allows to use
ARRAY_SIZE() to fill .num_clocks to reduce the risk of mismatches.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/input/touchscreen/sur40.c')
0 files changed, 0 insertions, 0 deletions