diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2020-04-16 10:15:47 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-04-24 12:18:16 +0200 |
commit | 7713f9180cb410fbec3ae5d5024a8440e2c6c809 (patch) | |
tree | 481e9a4093b708443ef6ee2b26fb8d76e7b876f5 /arch | |
parent | usb: typec: mux: Convert the Intel PMC Mux driver to use new SCU IPC API (diff) | |
download | linux-7713f9180cb410fbec3ae5d5024a8440e2c6c809.tar.xz linux-7713f9180cb410fbec3ae5d5024a8440e2c6c809.zip |
platform/x86: intel_pmc_ipc: Drop intel_pmc_ipc_command()
Now that all callers have been converted over to the SCU IPC API we can
drop intel_pmc_ipc_command().
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/include/asm/intel_pmc_ipc.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/x86/include/asm/intel_pmc_ipc.h b/arch/x86/include/asm/intel_pmc_ipc.h index ddc964b9c78c..22848df5faaf 100644 --- a/arch/x86/include/asm/intel_pmc_ipc.h +++ b/arch/x86/include/asm/intel_pmc_ipc.h @@ -27,19 +27,11 @@ #if IS_ENABLED(CONFIG_INTEL_PMC_IPC) -int intel_pmc_ipc_command(u32 cmd, u32 sub, u8 *in, u32 inlen, - u32 *out, u32 outlen); int intel_pmc_s0ix_counter_read(u64 *data); int intel_pmc_gcr_read64(u32 offset, u64 *data); #else -static inline int intel_pmc_ipc_command(u32 cmd, u32 sub, u8 *in, u32 inlen, - u32 *out, u32 outlen) -{ - return -EINVAL; -} - static inline int intel_pmc_s0ix_counter_read(u64 *data) { return -EINVAL; |