diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2024-04-08 15:45:58 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-04-08 16:38:13 +0100 |
commit | d6f2fd7adcb5f25ac661808be9409f846b1de6fe (patch) | |
tree | 6753e1f336b1d96e42b5fdb150764a55fc427aee /drivers/usb/cdns3/cdns3-debug.h | |
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>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions