]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PowerCap: Convert class code to use dev_groups
authorThierry Reding <treding@nvidia.com>
Tue, 22 Oct 2013 14:55:38 +0000 (16:55 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 24 Oct 2013 13:03:00 +0000 (15:03 +0200)
commit34392bd5fd58038c3083630263883eac53b061a2
treef7b8bd121d1d7cb63622f1e7afd286f7f2119775
parent8dcc0f0451fde4c768feb0aa3a7b599167cf600b
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>
drivers/powercap/powercap_sys.c