aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChihau Chau <chihau@gmail.com>2010-02-25 18:20:09 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-04 10:59:02 -0500
commitb94c765ac31f8eb9c6fe895ba611bb446b799635 (patch)
tree2bba2c35dae2daf4826eb63daad01f3c32ff03bd
parentdf84f941e9370be6798fa11aa5a77396d8869fdc (diff)
Staging: dream: camera: sk5k3e2fx: fix code style issues
This fixes some code style issues about assignments in if conditions. Signed-off-by: Chihau Chau <chihau@gmail.com> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/dream/camera/s5k3e2fx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/dream/camera/s5k3e2fx.c b/drivers/staging/dream/camera/s5k3e2fx.c
index edba19889b0f..2426f5e5b2aa 100644
--- a/drivers/staging/dream/camera/s5k3e2fx.c
+++ b/drivers/staging/dream/camera/s5k3e2fx.c
@@ -743,12 +743,12 @@ static int s5k3e2fx_sensor_open_init(const struct msm_camera_sensor_info *data)
743 } 743 }
744 744
745 /* initialize AF */ 745 /* initialize AF */
746 if ((rc = s5k3e2fx_i2c_write_b(s5k3e2fx_client->addr, 746 rc = s5k3e2fx_i2c_write_b(s5k3e2fx_client->addr, 0x3146, 0x3A);
747 0x3146, 0x3A)) < 0) 747 if (rc < 0)
748 goto init_fail1; 748 goto init_fail1;
749 749
750 if ((rc = s5k3e2fx_i2c_write_b(s5k3e2fx_client->addr, 750 rc = s5k3e2fx_i2c_write_b(s5k3e2fx_client->addr, 0x3130, 0x03);
751 0x3130, 0x03)) < 0) 751 if (rc < 0)
752 goto init_fail1; 752 goto init_fail1;
753 753
754 goto init_done; 754 goto init_done;