summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/intel_telemetry.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-10-21 12:24:43 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-01-10 12:50:32 +0300
commite883cafd8de012edc979935610b04204c4c2a742 (patch)
treea3467481924c2aac3d75bceda4d2a7c383ff8318 /arch/x86/include/asm/intel_telemetry.h
parent554f269f0f384d34f7e8052242df3b97be325924 (diff)
downloadlinux-e883cafd8de012edc979935610b04204c4c2a742.tar.xz
platform/x86: intel_telemetry_pltdrv: use devm_platform_ioremap_resource()
Use devm_platform_ioremap_resource() to simplify the code a bit. While here, drop initialized but unused ssram_base_addr and ssram_size members. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'arch/x86/include/asm/intel_telemetry.h')
-rw-r--r--arch/x86/include/asm/intel_telemetry.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/include/asm/intel_telemetry.h b/arch/x86/include/asm/intel_telemetry.h
index 214394860632..2f77e31a1283 100644
--- a/arch/x86/include/asm/intel_telemetry.h
+++ b/arch/x86/include/asm/intel_telemetry.h
@@ -40,13 +40,10 @@ struct telemetry_evtmap {
struct telemetry_unit_config {
struct telemetry_evtmap *telem_evts;
void __iomem *regmap;
- u32 ssram_base_addr;
u8 ssram_evts_used;
u8 curr_period;
u8 max_period;
u8 min_period;
- u32 ssram_size;
-
};
struct telemetry_plt_config {