Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 549e08a0 authored by lixiubo's avatar lixiubo Committed by Mark Brown
Browse files

regmap: replace kmalloc with kmalloc_array



Replace kmalloc with specialized function kmalloc_array when the size
is a multiplication of : number * size

Signed-off-by: default avatarlixiubo <lixiubo@cmss.chinamobile.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent eeda1bd6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment