Skip to content
Commit b5a3b44f authored by Marek Behún's avatar Marek Behún Committed by Pavel Machek
Browse files

leds: pca963x: use flexible array



Instead of doing two allocations, allocate only once, by utilizing
flexible array members.

Signed-off-by: default avatarMarek 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: default avatarPavel Machek <pavel@ucw.cz>
parent 5db85093
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment