[PATCH] w1: cleanups.
- white space changes. - list_for_each_entry/list_for_each_entry_safe and reverse changes. - small coding style changes. - removed redundant NULL checks. - use attribute group and macros instead of direct device attributes. Patch is havily based on work from Adrian Bunk and Dmitry Torokhov, thanks guys. Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
85e941cc9f
commit
7785925dd8
@@ -33,13 +33,13 @@ enum w1_netlink_message_types {
|
||||
W1_MASTER_REMOVE,
|
||||
};
|
||||
|
||||
struct w1_netlink_msg
|
||||
struct w1_netlink_msg
|
||||
{
|
||||
__u8 type;
|
||||
__u8 reserved[3];
|
||||
union
|
||||
{
|
||||
struct w1_reg_num id;
|
||||
struct w1_reg_num id;
|
||||
__u64 w1_id;
|
||||
struct
|
||||
{
|
||||
|
Reference in New Issue
Block a user