commit | 6b0c0c83dc55dc2484b1d5cbf32631262ae86284 | [log] [tgz] |
---|---|---|
author | Akshay Gupta <Akshay.Gupta@amd.com> | Tue Sep 29 16:23:19 2020 +0530 |
committer | Guenter Roeck <linux@roeck-us.net> | Tue Sep 29 22:06:34 2020 -0700 |
tree | f09e125b6447f0802bea8ea340b6ab53009e1c10 | |
parent | df885d912f678f45a867c4eb3f3a5b0ea17796f4 [diff] |
hwmon: (amd_energy) Move label out of accumulation structure At present, core & socket labels are defined in struct sensor_accumulator This patch moves it to the amd_energy_data structure, which will help in calling memset on struct sensor_accumulator to optimize the code. Signed-off-by: Akshay Gupta <Akshay.Gupta@amd.com> Link: https://lore.kernel.org/r/20200929105322.8919-2-nchatrad@amd.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>