[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:
Evgeniy Polyakov
2005-05-20 22:33:25 +04:00
zatwierdzone przez Greg Kroah-Hartman
rodzic 85e941cc9f
commit 7785925dd8
14 zmienionych plików z 171 dodań i 256 usunięć

Wyświetl plik

@@ -1,8 +1,8 @@
/*
* w1_family.c
* w1_family.c
*
* Copyright (c) 2004 Evgeniy Polyakov <johnpol@2ka.mipt.ru>
*
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by