diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-04-10 09:53:35 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-04-16 20:31:15 -0400 |
commit | 226471a18f5458d42aac52bca62ebd8edeb37a96 (patch) | |
tree | 72d03317c5ae7e4fa049f0b59d4cb9ab97d23980 /drivers/media | |
parent | 8678b03428b6894d146695980f04f26af7b9b3ec (diff) |
[media] r820t: fix prefix of the r820t_read() function
Just cosmetic changes: all other functions are prefixed
by r820t. Do the same for r820t_read().
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Tested-by: Antti Palosaari <crope@iki.fi>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/tuners/r820t.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c index ef100ab3564d..e9367d896a07 100644 --- a/drivers/media/tuners/r820t.c +++ b/drivers/media/tuners/r820t.c | |||
@@ -425,7 +425,7 @@ static int r820t_write_reg_mask(struct r820t_priv *priv, u8 reg, u8 val, | |||
425 | return r820t_write(priv, reg, &val, 1); | 425 | return r820t_write(priv, reg, &val, 1); |
426 | } | 426 | } |
427 | 427 | ||
428 | static int r820_read(struct r820t_priv *priv, u8 reg, u8 *val, int len) | 428 | static int r820t_read(struct r820t_priv *priv, u8 reg, u8 *val, int len) |
429 | { | 429 | { |
430 | int rc, i; | 430 | int rc, i; |
431 | u8 *p = &priv->buf[1]; | 431 | u8 *p = &priv->buf[1]; |
@@ -573,7 +573,7 @@ static int r820t_set_pll(struct r820t_priv *priv, u32 freq) | |||
573 | mix_div = mix_div << 1; | 573 | mix_div = mix_div << 1; |
574 | } | 574 | } |
575 | 575 | ||
576 | rc = r820_read(priv, 0x00, data, sizeof(data)); | 576 | rc = r820t_read(priv, 0x00, data, sizeof(data)); |
577 | if (rc < 0) | 577 | if (rc < 0) |
578 | return rc; | 578 | return rc; |
579 | 579 | ||
@@ -660,7 +660,7 @@ static int r820t_set_pll(struct r820t_priv *priv, u32 freq) | |||
660 | msleep(10); | 660 | msleep(10); |
661 | 661 | ||
662 | /* Check if PLL has locked */ | 662 | /* Check if PLL has locked */ |
663 | rc = r820_read(priv, 0x00, data, 3); | 663 | rc = r820t_read(priv, 0x00, data, 3); |
664 | if (rc < 0) | 664 | if (rc < 0) |
665 | return rc; | 665 | return rc; |
666 | if (data[2] & 0x40) | 666 | if (data[2] & 0x40) |
@@ -1062,7 +1062,7 @@ static int r820t_set_tv_standard(struct r820t_priv *priv, | |||
1062 | return rc; | 1062 | return rc; |
1063 | 1063 | ||
1064 | /* Check if calibration worked */ | 1064 | /* Check if calibration worked */ |
1065 | rc = r820_read(priv, 0x00, data, sizeof(data)); | 1065 | rc = r820t_read(priv, 0x00, data, sizeof(data)); |
1066 | if (rc < 0) | 1066 | if (rc < 0) |
1067 | return rc; | 1067 | return rc; |
1068 | 1068 | ||
@@ -1135,7 +1135,7 @@ static int r820t_read_gain(struct r820t_priv *priv) | |||
1135 | u8 data[4]; | 1135 | u8 data[4]; |
1136 | int rc; | 1136 | int rc; |
1137 | 1137 | ||
1138 | rc = r820_read(priv, 0x00, data, sizeof(data)); | 1138 | rc = r820t_read(priv, 0x00, data, sizeof(data)); |
1139 | if (rc < 0) | 1139 | if (rc < 0) |
1140 | return rc; | 1140 | return rc; |
1141 | 1141 | ||
@@ -1163,7 +1163,7 @@ static int r820t_set_gain_mode(struct r820t_priv *priv, | |||
1163 | if (rc < 0) | 1163 | if (rc < 0) |
1164 | return rc; | 1164 | return rc; |
1165 | 1165 | ||
1166 | rc = r820_read(priv, 0x00, data, sizeof(data)); | 1166 | rc = r820t_read(priv, 0x00, data, sizeof(data)); |
1167 | if (rc < 0) | 1167 | if (rc < 0) |
1168 | return rc; | 1168 | return rc; |
1169 | 1169 | ||
@@ -1349,7 +1349,7 @@ static int r820t_xtal_check(struct r820t_priv *priv) | |||
1349 | 1349 | ||
1350 | msleep(5); | 1350 | msleep(5); |
1351 | 1351 | ||
1352 | rc = r820_read(priv, 0x00, data, sizeof(data)); | 1352 | rc = r820t_read(priv, 0x00, data, sizeof(data)); |
1353 | if (rc < 0) | 1353 | if (rc < 0) |
1354 | return rc; | 1354 | return rc; |
1355 | if ((!data[2]) & 0x40) | 1355 | if ((!data[2]) & 0x40) |
@@ -1621,7 +1621,7 @@ struct dvb_frontend *r820t_attach(struct dvb_frontend *fe, | |||
1621 | fe->ops.i2c_gate_ctrl(fe, 1); | 1621 | fe->ops.i2c_gate_ctrl(fe, 1); |
1622 | 1622 | ||
1623 | /* check if the tuner is there */ | 1623 | /* check if the tuner is there */ |
1624 | rc = r820_read(priv, 0x00, data, sizeof(data)); | 1624 | rc = r820t_read(priv, 0x00, data, sizeof(data)); |
1625 | if (rc < 0) | 1625 | if (rc < 0) |
1626 | goto err; | 1626 | goto err; |
1627 | 1627 | ||