drm/amd/smu: unify pptable_func{} callback interface
authorKevin Wang <kevin1.wang@amd.com>
Tue, 16 Jun 2020 05:50:28 +0000 (13:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:22 +0000 (01:59 -0400)
commit1fc87b4599a7cbab54c988f0cb55d52e4ec121df
treef10b585365d01e1ac92641db3285fc76abba744e
parent88e39834afd5ca1c2367a49db3e0db2ae915f269
drm/amd/smu: unify pptable_func{} callback interface

the pptable_func callback sets should be has unify interface,
so use "smu" as the pptable_func interface first parameter.

fix interfaces:
1. i2c_eeprom_init
2. i2c_eeprom_fini

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/arcturus_ppt.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_internal.h