PPS: convert class code to use dev_groups
The dev_attrs field of struct class is going away soon, dev_groups should be used instead. This converts the pps class code to use the correct field. Cc: Rodolfo Giometti <giometti@enneenne.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
1 parent
e80b89a5f1
commit
bd0eae4e1c
3 files changed
+37
-22
No files matched your search
@@ -80,7 +80,7 @@ struct pps_device {
|
||||
* Global variables
|
||||
*/
|
||||
|
||||
extern struct device_attribute pps_attrs[];
|
||||
extern const struct attribute_group *pps_groups[];
|
||||
|
||||
/*
|
||||
* Internal functions.
|
||||
|
||||
Reference in new issue
Block a user