commit | d6f2fd7adcb5f25ac661808be9409f846b1de6fe | [log] [tgz] |
---|---|---|
author | Richard Fitzgerald <rf@opensource.cirrus.com> | Mon Apr 08 15:45:58 2024 +0100 |
committer | Mark Brown <broonie@kernel.org> | Mon Apr 08 16:38:13 2024 +0100 |
tree | 6753e1f336b1d96e42b5fdb150764a55fc427aee | |
parent | ce75e06eea9cfdddaa0082cef663cf2d4aa5ed1d [diff] |
regmap: kunit: Replace a kmalloc/kfree() pair with KUnit-managed alloc Replace the kmalloc() and kfree() in raw_read_defaults() with a kunit_kmalloc() so that KUnit will free it automatically. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://msgid.link/r/20240408144600.230848-10-rf@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>