commit | 8310e8202f24d674b6b2bd341af15d72299f696d | [log] [tgz] |
---|---|---|
author | Zhang Rui <rui.zhang@intel.com> | Wed Jul 10 21:44:23 2019 +0800 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Thu Jul 11 15:08:57 2019 +0200 |
tree | d17f22a688e733d134989c6c196ee233645c2573 | |
parent | f7c4e0c89bbd0f008b33d9dce02e207d9dea9f54 [diff] |
intel_rapl: remove hardcoded register index enum rapl_domain_reg_id is defined for the RAPL registers for each RAPL domain, thus use it whenever possible. Reviewed-by: Pandruvada, Srinivas <srinivas.pandruvada@intel.com> Tested-by: Pandruvada, Srinivas <srinivas.pandruvada@intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>