diff options
author | Evgeniy Polyakov <johnpol@2ka.mipt.ru> | 2005-05-20 14:33:25 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-22 00:43:09 -0400 |
commit | 7785925dd8e0d2f389d4a9168f1683c6b249a552 (patch) | |
tree | 5772979184dc9e2b811503fab6ed1119f5c9f93a /drivers/w1/Kconfig | |
parent | 85e941cc9f10316080a16b121d24d329e5c2a65d (diff) |
[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>
Diffstat (limited to 'drivers/w1/Kconfig')
-rw-r--r-- | drivers/w1/Kconfig | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/w1/Kconfig b/drivers/w1/Kconfig index 2ab65c902fe5..4f120796273e 100644 --- a/drivers/w1/Kconfig +++ b/drivers/w1/Kconfig | |||
@@ -3,9 +3,9 @@ menu "Dallas's 1-wire bus" | |||
3 | config W1 | 3 | config W1 |
4 | tristate "Dallas's 1-wire support" | 4 | tristate "Dallas's 1-wire support" |
5 | ---help--- | 5 | ---help--- |
6 | Dallas's 1-wire bus is usefull to connect slow 1-pin devices | 6 | Dallas's 1-wire bus is usefull to connect slow 1-pin devices |
7 | such as iButtons and thermal sensors. | 7 | such as iButtons and thermal sensors. |
8 | 8 | ||
9 | If you want W1 support, you should say Y here. | 9 | If you want W1 support, you should say Y here. |
10 | 10 | ||
11 | This W1 support can also be built as a module. If so, the module | 11 | This W1 support can also be built as a module. If so, the module |
@@ -17,8 +17,8 @@ config W1_MATROX | |||
17 | help | 17 | help |
18 | Say Y here if you want to communicate with your 1-wire devices | 18 | Say Y here if you want to communicate with your 1-wire devices |
19 | using Matrox's G400 GPIO pins. | 19 | using Matrox's G400 GPIO pins. |
20 | 20 | ||
21 | This support is also available as a module. If so, the module | 21 | This support is also available as a module. If so, the module |
22 | will be called matrox_w1.ko. | 22 | will be called matrox_w1.ko. |
23 | 23 | ||
24 | config W1_DS9490 | 24 | config W1_DS9490 |
@@ -27,17 +27,17 @@ config W1_DS9490 | |||
27 | help | 27 | help |
28 | Say Y here if you want to have a driver for DS9490R UWB <-> W1 bridge. | 28 | Say Y here if you want to have a driver for DS9490R UWB <-> W1 bridge. |
29 | 29 | ||
30 | This support is also available as a module. If so, the module | 30 | This support is also available as a module. If so, the module |
31 | will be called ds9490r.ko. | 31 | will be called ds9490r.ko. |
32 | 32 | ||
33 | config W1_DS9490_BRIDGE | 33 | config W1_DS9490R_BRIDGE |
34 | tristate "DS9490R USB <-> W1 transport layer for 1-wire" | 34 | tristate "DS9490R USB <-> W1 transport layer for 1-wire" |
35 | depends on W1_DS9490 | 35 | depends on W1_DS9490 |
36 | help | 36 | help |
37 | Say Y here if you want to communicate with your 1-wire devices | 37 | Say Y here if you want to communicate with your 1-wire devices |
38 | using DS9490R USB bridge. | 38 | using DS9490R USB bridge. |
39 | 39 | ||
40 | This support is also available as a module. If so, the module | 40 | This support is also available as a module. If so, the module |
41 | will be called ds_w1_bridge.ko. | 41 | will be called ds_w1_bridge.ko. |
42 | 42 | ||
43 | config W1_THERM | 43 | config W1_THERM |
@@ -51,7 +51,7 @@ config W1_SMEM | |||
51 | tristate "Simple 64bit memory family implementation" | 51 | tristate "Simple 64bit memory family implementation" |
52 | depends on W1 | 52 | depends on W1 |
53 | help | 53 | help |
54 | Say Y here if you want to connect 1-wire | 54 | Say Y here if you want to connect 1-wire |
55 | simple 64bit memory rom(ds2401/ds2411/ds1990*) to you wire. | 55 | simple 64bit memory rom(ds2401/ds2411/ds1990*) to you wire. |
56 | 56 | ||
57 | endmenu | 57 | endmenu |