Clean up camera driver
authorWerner Almesberger <werner@openmoko.org>
Mon, 9 Mar 2009 21:17:46 +0000 (21:17 +0000)
committerAndy Green <agreen@octopus.localdomain>
Mon, 9 Mar 2009 21:17:46 +0000 (21:17 +0000)
commit5457a45a5d4ca2c39b1f17625156110cdc66d16e
tree4d085c8c0541a8a1dfe5209e6b77c3b7bfeda664
parent5b20a574123c3d042edac7a7e3bd3e35c6a06a4c
Clean up camera driver

This patch does some light cleanup on the camera driver:

- removed unused return values or unused initializations
- remove backslashes at regular line ends (Python-style ?)
- removed redundant casts
- remove redundant parentheses
- wrapped long lines
- general whitespace cleanup
- fixed broken logic in s3c_camif_v4l2_g_input and s3c_camif_v4l2_g_output
- let mutex that really really wants to be a semaphore have its way

Signed-off-by: Werner Almesberger <werner@openmoko.org>
drivers/media/video/s3c_camera_driver.c
drivers/media/video/s3c_camif.h