diff options
author | Kent Gibson <warthog618@gmail.com> | 2020-09-28 03:27:50 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-09-30 11:56:34 +0300 |
commit | 539430fbbcc4a8d02451c77fff1ecd1f3b5f8abf (patch) | |
tree | b85e927a51acf57c8e9e7e03604d213cc7cb6173 /drivers/mfd/max8907.c | |
parent | 69e4e1368803266d0e06dba86868f64f7b277cde (diff) | |
download | linux-539430fbbcc4a8d02451c77fff1ecd1f3b5f8abf.tar.xz |
gpio: uapi: define GPIO_MAX_NAME_SIZE for array sizes
Replace constant array sizes with a macro constant to clarify the source
of array sizes, provide a place to document any constraints on the size,
and to simplify array sizing in userspace if constructing structs
from their composite fields.
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/mfd/max8907.c')
0 files changed, 0 insertions, 0 deletions