diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2017-12-29 07:53:46 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-01-05 12:40:49 -0500 |
commit | 6afda56a34684556f44bd0ee5b179560deccca4e (patch) | |
tree | 2af18770db1816de4fda5b69d85ce6487cf0a238 /Documentation/driver-api/uio-howto.rst | |
parent | 96780202f1f7ffe13f6e0426394c8c93a2cbaa77 (diff) |
media: intel-ipu3: Rename arr_size macro, use min
The arr_size() macro which is used to calculate the size of the chunk in the
array to be arranged resembles ARRAY_SIZE naming-wise. Avoid confusion by
renaming it to CHUNK_SIZE instead.
Also use min() macro to calculate the minimum of two numbers.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/driver-api/uio-howto.rst')
0 files changed, 0 insertions, 0 deletions