diff options
| author | Jean Delvare <[email protected]> | 2011-08-31 15:53:41 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2011-09-06 15:56:07 +0000 |
| commit | f020b007d5dd24597f5e985a6309bcb8393797ed (patch) | |
| tree | 17d7db505904c9cb57c79e586d31eb79376dd9b6 /lib/dynamic_debug.c | |
| parent | hwmon: (max16065) Add chip access warning to documentation (diff) | |
| download | kernel-f020b007d5dd24597f5e985a6309bcb8393797ed.tar.gz kernel-f020b007d5dd24597f5e985a6309bcb8393797ed.zip | |
hwmon: (ucd9000/ucd9200) Optimize array walk
Rewrite the loop walking the id array during probe. The new code is
better adapted to a null-terminated array, and is also clearer and
more efficient than the original.
Signed-off-by: Jean Delvare <[email protected]>
Cc: Axel Lin <[email protected]>
Cc: Guenter Roeck <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
