drivers/amd/pm: smu13: use local variable adev
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 14 Dec 2021 03:56:56 +0000 (21:56 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Dec 2021 18:34:03 +0000 (13:34 -0500)
commit9f952378fcb90d202cbdf359aaeaad9429edbd0a
treea0ca149be0d7093baaa2504630a5c93001b1da61
parenta342655865b2f14d1fbf346356d3b3360e63e872
drivers/amd/pm: smu13: use local variable adev

Since this variable was made available by the previous commit, use
it to make function access cleaner.

Suggested-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c