diff options
| author | Ma Jun <[email protected]> | 2024-05-09 02:38:41 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-05-13 20:11:52 +0000 |
| commit | 948e209475a7b447ddde3b11a9b40b69265f02e7 (patch) | |
| tree | 3cff2a6eb1e1c0775a2dcf6c6bf7d92f5f352826 /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
| parent | drm/amd/pm: fix get dpm level count for smu13 (diff) | |
| download | kernel-948e209475a7b447ddde3b11a9b40b69265f02e7.tar.gz kernel-948e209475a7b447ddde3b11a9b40b69265f02e7.zip | |
drm/amdgpu/pm: Fix code alignment issue
Fix code alignment issue
Signed-off-by: Ma Jun <[email protected]>
Reported-by: Yang Wang <[email protected]>
Reviewed-by: Yang Wang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
| -rw-r--r-- | drivers/gpu/drm/amd/pm/amdgpu_pm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c index ec9058c80647..110f2fc31754 100644 --- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c +++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c @@ -4381,8 +4381,8 @@ int amdgpu_pm_sysfs_init(struct amdgpu_device *adev) /* under multi-vf mode, the hwmon attributes are all not supported */ if (mode != SRIOV_VF_MODE_MULTI_VF) { adev->pm.int_hwmon_dev = hwmon_device_register_with_groups(adev->dev, - DRIVER_NAME, adev, - hwmon_groups); + DRIVER_NAME, adev, + hwmon_groups); if (IS_ERR(adev->pm.int_hwmon_dev)) { ret = PTR_ERR(adev->pm.int_hwmon_dev); dev_err(adev->dev, "Unable to register hwmon device: %d\n", ret); |
