Loading
drm/amdgpu/amdgpu_i2c: Use devm_i2c_add_adapter instead of i2c_add_adapter
This commit replaces i2c_add_adapter() with devm_i2c_add_adapter() and removes part of the cleanup logic since the new function handles the i2c removal. Signed-off-by:Rodrigo Siqueira <siqueira@igalia.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>