diff options
author | Luca Ceresoli <luca@lucaceresoli.net> | 2018-04-24 04:24:11 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-17 06:22:08 -0400 |
commit | 8ed8bba70b4355b1ba029b151ade84475dd12991 (patch) | |
tree | 5cbc9e6a3b66709a6c2795804b85c06cb157b3d2 /drivers/media/usb | |
parent | 4eb7846d3ead1c2f461811e41e63462016e19ae7 (diff) |
media: imx274: remove non-indexed pointers from mode_table
mode_table[] has 3 members that are accessed based on their index, which
makes worth using an array.
The other members are always accessed with a constant index. This added
indirection gives no improvement and only makes code more verbose.
Remove these pointers from the array and access them directly.
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/usb')
0 files changed, 0 insertions, 0 deletions