Commit c8a03943 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Lee Jones
Browse files

leds: ns2: Slightly simplify a memory allocation



Use devm_kcalloc() instead of devm_kzalloc()+array_size().

Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/560b8f140c19a7da40f5e9540c3ef312969b0dc4.1690057595.git.christophe.jaillet@wanadoo.fr


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent 3192f141
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment