Loading
platform/x86: ISST: Shorten the assignments for power_domain_info
mainline inclusion from mainline-v6.10 commit fe4211d21fee3672b251f9a535eaf0a0cf0b51e1 category: bugfix bugzilla: https://gitee.com/openeuler/intel-kernel/issues/IB6QD3 CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fe4211d21fee3672b251f9a535eaf0a0cf0b51e1 ------------------------------------------------- Intel-SIG: commit fe4211d21fee platform/x86: ISST: Shorten the assignments for power_domain_info. Backport intel SST driver update for 5.10 from 6.10 Instead of long lines for assignment to tpmi_sst->power_domain_info, use a local variable pd_info and assign later. Also move the assignment of number of resources after the assignment of pd_info. No functional change is expected. Signed-off-by:Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Reviewed-by:
Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20240423204619.3946901-7-srinivas.pandruvada@linux.intel.com Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com> [ Yingbao Jia: amend commit log ] Signed-off-by:
Yingbao Jia <yingbao.jia@intel.com>