]> Gentwo Git Trees - linux/.git/commit
drm/amdgpu: Use devm_i2c_add_adapter() in SMU V11
authorRodrigo Siqueira <siqueira@igalia.com>
Wed, 10 Sep 2025 17:39:36 +0000 (11:39 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Sep 2025 21:47:24 +0000 (17:47 -0400)
commit63137c7c8cd1aee788067b9d3782dce6ea21c0df
tree7669df9056db84516e32f1f431f16d9e736c1116
parent0f36a3c6af9e137344a2060cf2510db7ff9920c0
drm/amdgpu: Use devm_i2c_add_adapter() in SMU V11

Instead of using i2c_add_adapter() and i2c_del_adapter() in the SMU V11,
use devm_i2c_add_adapter() to simplify the code path.

Signed-off-by: Rodrigo Siqueira <siqueira@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c