summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/m5mols/m5mols.h
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2011-12-03 01:55:04 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-12-30 17:34:46 +0100
commit630caa23b75ca5d399791fa5a4d8d5f4adf81489 (patch)
tree1794510509103470aca5106a59f01fda5a82205b /drivers/media/video/m5mols/m5mols.h
parent[media] m5mols: Improve the interrupt handling routines (diff)
downloadlinux-630caa23b75ca5d399791fa5a4d8d5f4adf81489.tar.xz
linux-630caa23b75ca5d399791fa5a4d8d5f4adf81489.zip
[media] m5mols: Remove mode_save field from struct m5mols_info
There is no need to keep this in the drivers' private data structure, an on the stack variable is enough. Also simplify a bit the ISP state switching function. Acked-by: HeungJun Kim <riverful.kim@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/m5mols/m5mols.h')
-rw-r--r--drivers/media/video/m5mols/m5mols.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/m5mols/m5mols.h b/drivers/media/video/m5mols/m5mols.h
index 2829d4a95f6a..5a8a858fdb2d 100644
--- a/drivers/media/video/m5mols/m5mols.h
+++ b/drivers/media/video/m5mols/m5mols.h
@@ -180,7 +180,6 @@ struct m5mols_version {
* @lock_awb: true means the Aut WhiteBalance is locked
* @resolution: register value for current resolution
* @mode: register value for current operation mode
- * @mode_save: register value for current operation mode for saving
* @set_power: optional power callback to the board code
*/
struct m5mols_info {
@@ -211,7 +210,6 @@ struct m5mols_info {
bool lock_awb;
u8 resolution;
u8 mode;
- u8 mode_save;
int (*set_power)(struct device *dev, int on);
};