commit | 60268b0e8258fdea9a3c9f4b51e161c123571db3 | [log] [tgz] |
---|---|---|
author | Naveen Krishna Chatradhi <nchatrad@amd.com> | Thu Nov 12 22:51:59 2020 +0530 |
committer | Guenter Roeck <linux@roeck-us.net> | Fri Nov 13 06:46:20 2020 -0800 |
tree | 21b48fecb81d19b106d4ce28e25570294f8d2567 | |
parent | 4d64bb4ba5ecf4831448cdb2fe16d0ae91b2b40b [diff] |
hwmon: (amd_energy) modify the visibility of the counters This patch limits the visibility to owner and groups only for the energy counters exposed through the hwmon based amd_energy driver. Cc: stable@vger.kernel.org Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Naveen Krishna Chatradhi <nchatrad@amd.com> Link: https://lore.kernel.org/r/20201112172159.8781-1-nchatrad@amd.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>