commit | b5a3b44f2ddc4af49420f430b208ff8060ab7555 | [log] [tgz] |
---|---|---|
author | Marek BehĂșn <marek.behun@nic.cz> | Sun Sep 20 02:24:58 2020 +0200 |
committer | Pavel Machek <pavel@ucw.cz> | Wed Sep 30 18:53:28 2020 +0200 |
tree | 5424a2f076a5a645a235b4ff925bf17fbce724a7 | |
parent | 5db8509349cea5df0e6562537d84f3e90fda3270 [diff] |
leds: pca963x: use flexible array Instead of doing two allocations, allocate only once, by utilizing flexible array members. Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Cc: Peter Meerwald <p.meerwald@bct-electronic.com> Cc: Ricardo Ribalda <ribalda@kernel.org> Cc: Zahari Petkov <zahari@balena.io> Signed-off-by: Pavel Machek <pavel@ucw.cz>