diff options
author | George Stark <[email protected]> | 2023-11-25 23:05:12 +0300 |
---|---|---|
committer | Lee Jones <[email protected]> | 2023-12-13 11:28:56 +0000 |
commit | 2b8db5729d10b23edd61e018c18fa7b865e2d76c (patch) | |
tree | 7c8255106a11d3a0381a96a03210e375256f01fa /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 20dbf6d4a19c5bb5d2521c4993d4373fbe05f1bc (diff) |
leds: aw200xx: Calculate dts property display_rows in the driver
Get rid of device tree property "awinic,display-rows". The property
value actually means number of current switches and depends on how LEDs
are connected to the device. It should be calculated manually by max
used LED number. In the same way it is computed automatically now.
Max used LED is taken from LED definition subnodes.
Signed-off-by: George Stark <[email protected]>
Signed-off-by: Dmitry Rokosov <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions