> Add 2 attr-file groups (for base and model-specific attrs respectively), > create the base group with single call to sysfs_create_group, and > check the return code on individual calls to device_create_file for each > of the model-specific attr-files. > > Signed-off-by: Jim Cromie <jim.cromie at gmail.com> Applied with some additions (you forgot to delete some macros and to replace some occurrences of &client->dev by dev). Thanks, -- Jean Delvare