diff options
| author | Rodrigo Siqueira <siqueira@igalia.com> | 2025-09-10 11:39:34 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-09-16 17:47:16 -0400 |
| commit | 5b3eca05cfb02ed0dbd7097c056fb08ce5f76fe3 (patch) | |
| tree | b6c204ccfa53dad312e934a0291a279f2123bb91 /tools/perf/scripts/python | |
| parent | drm/amd/display: Use kmalloc_array() instead of kmalloc() (diff) | |
| download | linux-5b3eca05cfb02ed0dbd7097c056fb08ce5f76fe3.tar.gz linux-5b3eca05cfb02ed0dbd7097c056fb08ce5f76fe3.zip | |
drm/amd/display: Use devm_i2c_add_adapter to simplify i2c cleanup logic
This commit replaces the utilization of i2c_add/del_adapter() with
devm_i2c_add_adapter() to reduce the amount of boilerplate. Using
devm_i2c_add_adapter() has the advantage of removing the manual
manipulation of the I2C adapter.
Suggested-by: Robert Beckett <bob.beckett@collabora.com>
Signed-off-by: Rodrigo Siqueira <siqueira@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
