]> git.sur5r.net Git - groeck-nct6775/commit
Use ARRAY_SIZE for loops where possible
authorGuenter Roeck <linux@roeck-us.net>
Tue, 9 Apr 2013 12:04:00 +0000 (05:04 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 9 Apr 2013 12:06:16 +0000 (05:06 -0700)
commit8d3ed43cc6908997b8ab0b545352347c61110e72
tree7bf30edb01b2e4ab5071aee2e7276ab5e3b7f69e
parent60a3a390998f775e06cbebaf9a09a51fc02396ea
Use ARRAY_SIZE for loops where possible

This ensures that the loop iterations are correct even if/when
the number of elements in an array changes.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
nct6775.c