diff options
author | Werner Almesberger <werner@openmoko.org> | 2009-03-09 21:02:24 +0000 |
---|---|---|
committer | Andy Green <agreen@octopus.localdomain> | 2009-03-09 21:02:24 +0000 |
commit | 331ce37e960ba2660c1cbda39891f80e783fdec9 (patch) | |
tree | d182cd47fc405b5ef43b8d802cef9668d37281b5 /scripts/recordmcount.pl | |
parent | 4e7dcbca46f69c2e3a55e248ad838ac6759e8652 (diff) |
Clean up camera sensor driver
This patch does some light cleanup on the S5K4BA driver:
- change structure initializers from field: to .field = syntax
- exlicitly name fields in structure initializers
- added proper error handling to sensor_read
- use ARRAY_SIZE
- remove redundant parentheses and braces
- change // to /* ... */
- remove non-ASCII characters
- general whitespace cleanup
- removed an unused variable warning
(4xa_sensor.h is only partially cleaned up.)
Signed-off-by: Werner Almesberger <werner@openmoko.org>
Diffstat (limited to 'scripts/recordmcount.pl')
0 files changed, 0 insertions, 0 deletions