aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorChihau Chau <chihau@gmail.com>2010-02-11 13:47:47 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-04 10:59:01 -0500
commit49c9b5c7bd6cf87ccc1d820dec8d23ba3ae53f64 (patch)
tree3707183fadd0a299bc7ebf84bc59e95509336d73 /drivers/staging
parent0054a361e44bf71b8bb79b863bcf00e04dc4a464 (diff)
Staging: dream: camera: msm_camera: fix coding style issues
This fixes some coding style issues like to use __func__ instead __FUNCTION__, "foo *bar" instead "foo* bar" and a initial comment with "/* */" instead "//" Signed-off-by: Chihau Chau <chihau@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/dream/camera/msm_camera.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/dream/camera/msm_camera.c b/drivers/staging/dream/camera/msm_camera.c
index 7d938772eac..4f808dc2ca4 100644
--- a/drivers/staging/dream/camera/msm_camera.c
+++ b/drivers/staging/dream/camera/msm_camera.c
@@ -2,7 +2,7 @@
2 * Copyright (C) 2008-2009 QUALCOMM Incorporated. 2 * Copyright (C) 2008-2009 QUALCOMM Incorporated.
3 */ 3 */
4 4
5//FIXME: most allocations need not be GFP_ATOMIC 5/* FIXME: most allocations need not be GFP_ATOMIC */
6/* FIXME: management of mutexes */ 6/* FIXME: management of mutexes */
7/* FIXME: msm_pmem_region_lookup return values */ 7/* FIXME: msm_pmem_region_lookup return values */
8/* FIXME: way too many copy to/from user */ 8/* FIXME: way too many copy to/from user */
@@ -361,7 +361,7 @@ static int __msm_get_frame(struct msm_sync *sync,
361 if (!frame->buffer) { 361 if (!frame->buffer) {
362 pr_err("%s: cannot get frame, invalid lookup address " 362 pr_err("%s: cannot get frame, invalid lookup address "
363 "y=%x cbcr=%x offset=%d\n", 363 "y=%x cbcr=%x offset=%d\n",
364 __FUNCTION__, 364 __func__,
365 pphy->y_phy, 365 pphy->y_phy,
366 pphy->cbcr_phy, 366 pphy->cbcr_phy,
367 frame->y_off); 367 frame->y_off);
@@ -455,7 +455,7 @@ static int msm_disable_vfe(struct msm_sync *sync, void __user *arg)
455 return rc; 455 return rc;
456} 456}
457 457
458static struct msm_queue_cmd* __msm_control(struct msm_sync *sync, 458static struct msm_queue_cmd *__msm_control(struct msm_sync *sync,
459 struct msm_control_device_queue *queue, 459 struct msm_control_device_queue *queue,
460 struct msm_queue_cmd *qcmd, 460 struct msm_queue_cmd *qcmd,
461 int timeout) 461 int timeout)