The dev_attrs field of struct class is going away soon, dev_groupsshould be used instead. This converts the networking core class code touse the correct field.

In order to do this in the "cleanest" way, some of the macros had to bechanged to reflect the driver core format of naming show/storefunctions, which accounts for the majority of the churn in this file.