Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 67c7d4f

Browse files
hkallweitalexdeucher
authored andcommitted
drm/amd/pm: remove deprecated I2C_CLASS_SPD support from newly added SMU_14_0_2
Support for I2C_CLASS_SPD is currently being removed from the kernel. Only remaining step is to remove the definition of I2C_CLASS_SPD. Setting I2C_CLASS_SPD in a driver is a no-op meanwhile, so remove it here. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent a9bc5a1 commit 67c7d4f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1562,7 +1562,6 @@ static int smu_v14_0_2_i2c_control_init(struct smu_context *smu)
15621562
smu_i2c->port = i;
15631563
mutex_init(&smu_i2c->mutex);
15641564
control->owner = THIS_MODULE;
1565-
control->class = I2C_CLASS_SPD;
15661565
control->dev.parent = &adev->pdev->dev;
15671566
control->algo = &smu_v14_0_2_i2c_algo;
15681567
snprintf(control->name, sizeof(control->name), "AMDGPU SMU %d", i);

0 commit comments

Comments
 (0)