Skip to content
Commit 9e3410b7 authored by Thierry Reding's avatar Thierry Reding Committed by Rafael J. Wysocki
Browse files

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: default avatarThierry Reding <treding@nvidia.com>
Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 2d281d81
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment