[media] m5mols: Remove mode_save field from struct m5mols_info
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Sat, 3 Dec 2011 00:55:04 +0000 (21:55 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 30 Dec 2011 16:34:46 +0000 (14:34 -0200)
commit630caa23b75ca5d399791fa5a4d8d5f4adf81489
tree1794510509103470aca5106a59f01fda5a82205b
parentce808a478ae5b79e52ea170b35c459829296330f
[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>
drivers/media/video/m5mols/m5mols.h
drivers/media/video/m5mols/m5mols_core.c