aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cs53l32a.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-11-01 06:54:57 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:03:16 -0500
commit4c05de9c971b70a61d81cd2f1c78db85e2632d1c (patch)
tree47cb668f7549b6fcea08f12b98b7be934381f13f /drivers/media/video/cs53l32a.c
parent099b8e7361512ebfef2dd51f2e81126cc93c22e9 (diff)
V4L/DVB (6739): cs53l32a: codingstyle cleanups
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cs53l32a.c')
-rw-r--r--drivers/media/video/cs53l32a.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/media/video/cs53l32a.c b/drivers/media/video/cs53l32a.c
index 65bb6afd8df7..f41bfde045fe 100644
--- a/drivers/media/video/cs53l32a.c
+++ b/drivers/media/video/cs53l32a.c
@@ -35,7 +35,7 @@ MODULE_DESCRIPTION("i2c device driver for cs53l32a Audio ADC");
35MODULE_AUTHOR("Martin Vaughan"); 35MODULE_AUTHOR("Martin Vaughan");
36MODULE_LICENSE("GPL"); 36MODULE_LICENSE("GPL");
37 37
38static int debug = 0; 38static int debug;
39 39
40module_param(debug, bool, 0644); 40module_param(debug, bool, 0644);
41 41
@@ -58,7 +58,7 @@ static int cs53l32a_read(struct i2c_client *client, u8 reg)
58 return i2c_smbus_read_byte_data(client, reg); 58 return i2c_smbus_read_byte_data(client, reg);
59} 59}
60 60
61static int cs53l32a_command(struct i2c_client *client, unsigned int cmd, void *arg) 61static int cs53l32a_command(struct i2c_client *client, unsigned cmd, void *arg)
62{ 62{
63 struct v4l2_routing *route = arg; 63 struct v4l2_routing *route = arg;
64 struct v4l2_control *ctrl = arg; 64 struct v4l2_control *ctrl = arg;
@@ -105,7 +105,8 @@ static int cs53l32a_command(struct i2c_client *client, unsigned int cmd, void *a
105 break; 105 break;
106 106
107 case VIDIOC_G_CHIP_IDENT: 107 case VIDIOC_G_CHIP_IDENT:
108 return v4l2_chip_ident_i2c_client(client, arg, V4L2_IDENT_CS53l32A, 0); 108 return v4l2_chip_ident_i2c_client(client,
109 arg, V4L2_IDENT_CS53l32A, 0);
109 110
110 case VIDIOC_LOG_STATUS: 111 case VIDIOC_LOG_STATUS:
111 { 112 {
@@ -144,7 +145,8 @@ static int cs53l32a_probe(struct i2c_client *client)
144 145
145 snprintf(client->name, sizeof(client->name) - 1, "cs53l32a"); 146 snprintf(client->name, sizeof(client->name) - 1, "cs53l32a");
146 147
147 v4l_info(client, "chip found @ 0x%x (%s)\n", client->addr << 1, client->adapter->name); 148 v4l_info(client, "chip found @ 0x%x (%s)\n",
149 client->addr << 1, client->adapter->name);
148 150
149 for (i = 1; i <= 7; i++) { 151 for (i = 1; i <= 7; i++) {
150 u8 v = cs53l32a_read(client, i); 152 u8 v = cs53l32a_read(client, i);