aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@yandex.ru>2005-11-09 00:37:50 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 10:56:21 -0500
commit9a741ec9b87ac13f13a1dfcb05979d7c785d0755 (patch)
treecebc3addaa0259d1cc5be9877e5eee7729e126ac
parentbf7e26ee5fce3eb1074ba3e1c8f265cb37c8451c (diff)
[PATCH] v4l: 811: strip trailing whitespaces
- Strip trailing whitespaces. Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/media/video/tda8290.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/media/video/tda8290.c b/drivers/media/video/tda8290.c
index 47d3d2ce9770..8f9d7d1fd3f4 100644
--- a/drivers/media/video/tda8290.c
+++ b/drivers/media/video/tda8290.c
@@ -97,7 +97,7 @@ static void tda827x_tune(struct i2c_client *c, u16 ifc, unsigned int freq)
97 tuner_reg[3] = 0x40; 97 tuner_reg[3] = 0x40;
98 tuner_reg[4] = 0x52 + (t->tda827x_lpsel << 5); 98 tuner_reg[4] = 0x52 + (t->tda827x_lpsel << 5);
99 tuner_reg[5] = (tda827x_analog[i].spd << 6) + (tda827x_analog[i].div1p5 <<5) + 99 tuner_reg[5] = (tda827x_analog[i].spd << 6) + (tda827x_analog[i].div1p5 <<5) +
100 (tda827x_analog[i].bs <<3) + tda827x_analog[i].bp; 100 (tda827x_analog[i].bs <<3) + tda827x_analog[i].bp;
101 tuner_reg[6] = 0x8f + (tda827x_analog[i].gc3 << 4); 101 tuner_reg[6] = 0x8f + (tda827x_analog[i].gc3 << 4);
102 tuner_reg[7] = 0x8f; 102 tuner_reg[7] = 0x8f;
103 103
@@ -220,7 +220,7 @@ static void tda827xa_tune(struct i2c_client *c, u16 ifc, unsigned int freq)
220 tuner_reg[3] = 0; 220 tuner_reg[3] = 0;
221 tuner_reg[4] = 0x16; 221 tuner_reg[4] = 0x16;
222 tuner_reg[5] = (tda827xa_analog[i].spd << 5) + (tda827xa_analog[i].svco << 3) + 222 tuner_reg[5] = (tda827xa_analog[i].spd << 5) + (tda827xa_analog[i].svco << 3) +
223 tda827xa_analog[i].sbs; 223 tda827xa_analog[i].sbs;
224 tuner_reg[6] = 0x8b + (tda827xa_analog[i].gc3 << 4); 224 tuner_reg[6] = 0x8b + (tda827xa_analog[i].gc3 << 4);
225 tuner_reg[7] = 0x0c; 225 tuner_reg[7] = 0x0c;
226 tuner_reg[8] = 4; 226 tuner_reg[8] = 4;
@@ -317,7 +317,7 @@ static int tda8290_tune(struct i2c_client *c, u16 ifc, unsigned int freq)
317 unsigned char addr_agc_stat = 0x1d; 317 unsigned char addr_agc_stat = 0x1d;
318 unsigned char addr_pll_stat = 0x1b; 318 unsigned char addr_pll_stat = 0x1b;
319 unsigned char adc_sat, agc_stat, 319 unsigned char adc_sat, agc_stat,
320 pll_stat; 320 pll_stat;
321 321
322 i2c_master_send(c, easy_mode, 2); 322 i2c_master_send(c, easy_mode, 2);
323 i2c_master_send(c, soft_reset, 2); 323 i2c_master_send(c, soft_reset, 2);
@@ -483,11 +483,11 @@ static void tda8290_init_tuner(struct i2c_client *c)
483{ 483{
484 struct tuner *t = i2c_get_clientdata(c); 484 struct tuner *t = i2c_get_clientdata(c);
485 unsigned char tda8275_init[] = { 0x00, 0x00, 0x00, 0x40, 0xdC, 0x04, 0xAf, 485 unsigned char tda8275_init[] = { 0x00, 0x00, 0x00, 0x40, 0xdC, 0x04, 0xAf,
486 0x3F, 0x2A, 0x04, 0xFF, 0x00, 0x00, 0x40 }; 486 0x3F, 0x2A, 0x04, 0xFF, 0x00, 0x00, 0x40 };
487 unsigned char tda8275a_init[] = { 0x00, 0x00, 0x00, 0x00, 0xdC, 0x05, 0x8b, 487 unsigned char tda8275a_init[] = { 0x00, 0x00, 0x00, 0x00, 0xdC, 0x05, 0x8b,
488 0x0c, 0x04, 0x20, 0xFF, 0x00, 0x00, 0x4b }; 488 0x0c, 0x04, 0x20, 0xFF, 0x00, 0x00, 0x4b };
489 struct i2c_msg msg = {.addr = t->tda827x_addr, .flags=0, 489 struct i2c_msg msg = {.addr = t->tda827x_addr, .flags=0,
490 .buf=tda8275_init, .len = 14}; 490 .buf=tda8275_init, .len = 14};
491 if (t->tda827x_ver != 0) 491 if (t->tda827x_ver != 0)
492 msg.buf = tda8275a_init; 492 msg.buf = tda8275a_init;
493 493
@@ -535,7 +535,7 @@ int tda8290_init(struct i2c_client *c)
535 if (tuner_addrs == 0) { 535 if (tuner_addrs == 0) {
536 tuner_addrs = 0x61; 536 tuner_addrs = 0x61;
537 tuner_info ("could not clearly identify tuner address, defaulting to %x\n", 537 tuner_info ("could not clearly identify tuner address, defaulting to %x\n",
538 tuner_addrs); 538 tuner_addrs);
539 } else { 539 } else {
540 tuner_addrs = tuner_addrs & 0xff; 540 tuner_addrs = tuner_addrs & 0xff;
541 tuner_info ("setting tuner address to %x\n", tuner_addrs); 541 tuner_info ("setting tuner address to %x\n", tuner_addrs);