commit | 9e3410b764b79670a59d6c1ccdcad483b92c058c | [log] [tgz] |
---|---|---|
author | Thierry Reding <thierry.reding@gmail.com> | Wed Oct 23 13:37:35 2013 +0200 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Fri Oct 25 23:16:31 2013 +0200 |
tree | 318deaefe03908066f3967f3f4dea39ce9a08242 | |
parent | 2d281d8196e38dd3a4ee9af26621ddde8329f269 [diff] |
PowerCap: Convert class code to use dev_groups The newly added power capping framework uses the obsolete .dev_attrs field of struct class. However this field will be removed in 3.13, so convert the code to use the .dev_groups field instead. Signed-off-by: Thierry Reding <treding@nvidia.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>