hwmon: (amd_energy) match for supported models
authorNaveen Krishna Chatradhi <nchatrad@amd.com>
Mon, 6 Jul 2020 17:17:15 +0000 (22:47 +0530)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 7 Jul 2020 14:14:52 +0000 (07:14 -0700)
commitf28e360f29031fdef8df3a1bcad666243bd6872d
tree3d6939d940eae4f85deae2894e521028ae3e1851
parentbc4071aafcf4d0535ee423b69167696d6c03207d
hwmon: (amd_energy) match for supported models

The energy counters of certain models seems to be reporting
inconsistent values. Hence, match for the supported models.

Signed-off-by: Naveen Krishna Chatradhi <nchatrad@amd.com>
Fixes: 8abee9566b7e ("hwmon: Add amd_energy driver to report energy counters")
Link: https://lore.kernel.org/r/20200706171715.124993-1-nchatrad@amd.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/amd_energy.c