drivers/intel/dptf: Suppress unnecessary static function
This commit eliminates the superfluous get_dptf_platform_info() static function. Change-Id: I0b9d150bab8486cb7e437d5e2b3caa880e14f886 Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/86130 Reviewed-by: Jamie Ryu <jamie.m.ryu@intel.com> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Bora Guvendik <bora.guvendik@intel.com>
This commit is contained in:
parent
4224d59d0e
commit
c34c65d175
1 changed files with 1 additions and 6 deletions
|
|
@ -496,15 +496,10 @@ static const struct dptf_platform_info generic_dptf_platform_info = {
|
|||
#endif
|
||||
};
|
||||
|
||||
static const struct dptf_platform_info *get_dptf_platform_info(void)
|
||||
{
|
||||
return &generic_dptf_platform_info;
|
||||
}
|
||||
|
||||
/* Add minimal definitions of DPTF devices into the SSDT */
|
||||
static void write_device_definitions(const struct device *dev)
|
||||
{
|
||||
const struct dptf_platform_info *platform_info = get_dptf_platform_info();
|
||||
const struct dptf_platform_info *platform_info = &generic_dptf_platform_info;
|
||||
const struct drivers_intel_dptf_config *config;
|
||||
struct device *parent;
|
||||
enum dptf_participant p;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue