diff options
| author | Bartosz Golaszewski <[email protected]> | 2020-09-14 17:45:57 +0200 |
|---|---|---|
| committer | Alexandre Belloni <[email protected]> | 2020-09-15 10:50:37 +0200 |
| commit | 666f21413b881e159efaf862f119d4d058fa2c4a (patch) | |
| tree | 2abd90d99c7657b23d781369a3de486ceb7b6d1c /drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c | |
| parent | 955a123c14906e3adc43d43281f8fde91f631f7f (diff) | |
rtc: rx8010: prefer sizeof(*val) over sizeof(struct type_of_val)
Using the size of the variable is preferred over using the size of its
type when allocating memory. Convert the call to devm_kzalloc() in
probe().
Signed-off-by: Bartosz Golaszewski <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c')
0 files changed, 0 insertions, 0 deletions