drivers/intel/dptf: Add soc_
prefix for get_dptf_platform_info()
This patch makes the SoC specific callback code more readable by adding `soc_` prefix into the `get_dptf_platform_info()`. In nutshell this patch renames `get_dptf_platform_info()` to `soc_get_dptf_platform_info()`. TEST=Able to build Google/Rex without any compilation issue. Signed-off-by: Subrata Banik <subratabanik@google.com> Change-Id: I27d6a146d5928e1742f82f85f51ad42656f46344 Reviewed-on: https://review.coreboot.org/c/coreboot/+/71096 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
This commit is contained in:
@@ -28,7 +28,7 @@ static const struct dptf_platform_info adl_dptf_platform_info = {
|
||||
},
|
||||
};
|
||||
|
||||
const struct dptf_platform_info *get_dptf_platform_info(void)
|
||||
const struct dptf_platform_info *soc_get_dptf_platform_info(void)
|
||||
{
|
||||
return &adl_dptf_platform_info;
|
||||
}
|
||||
|
@@ -12,7 +12,7 @@ static const struct dptf_platform_info apl_dptf_platform_info = {
|
||||
.fan_hid = "INT3404",
|
||||
};
|
||||
|
||||
const struct dptf_platform_info *get_dptf_platform_info(void)
|
||||
const struct dptf_platform_info *soc_get_dptf_platform_info(void)
|
||||
{
|
||||
return &apl_dptf_platform_info;
|
||||
}
|
||||
|
@@ -12,7 +12,7 @@ static const struct dptf_platform_info cnl_dptf_platform_info = {
|
||||
.fan_hid = "INT3404",
|
||||
};
|
||||
|
||||
const struct dptf_platform_info *get_dptf_platform_info(void)
|
||||
const struct dptf_platform_info *soc_get_dptf_platform_info(void)
|
||||
{
|
||||
return &cnl_dptf_platform_info;
|
||||
}
|
||||
|
@@ -12,7 +12,7 @@ static const struct dptf_platform_info jsl_dptf_platform_info = {
|
||||
.fan_hid = "INT3404",
|
||||
};
|
||||
|
||||
const struct dptf_platform_info *get_dptf_platform_info(void)
|
||||
const struct dptf_platform_info *soc_get_dptf_platform_info(void)
|
||||
{
|
||||
return &jsl_dptf_platform_info;
|
||||
}
|
||||
|
@@ -13,7 +13,7 @@ static const struct dptf_platform_info tgl_dptf_platform_info = {
|
||||
.fan_hid = "INTC1044",
|
||||
};
|
||||
|
||||
const struct dptf_platform_info *get_dptf_platform_info(void)
|
||||
const struct dptf_platform_info *soc_get_dptf_platform_info(void)
|
||||
{
|
||||
return &tgl_dptf_platform_info;
|
||||
}
|
||||
|
Reference in New Issue
Block a user