diff options
| author | Richard Fitzgerald <[email protected]> | 2024-04-08 14:45:58 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2024-04-08 15:38:13 +0000 |
| commit | d6f2fd7adcb5f25ac661808be9409f846b1de6fe (patch) | |
| tree | 6753e1f336b1d96e42b5fdb150764a55fc427aee /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | regmap: kunit: Use a KUnit action to call regmap_exit() (diff) | |
| download | kernel-d6f2fd7adcb5f25ac661808be9409f846b1de6fe.tar.gz kernel-d6f2fd7adcb5f25ac661808be9409f846b1de6fe.zip | |
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 <[email protected]>
Link: https://msgid.link/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
