mirror of https://gitee.com/openkylin/linux.git
[media] lgdt3306a: Minor source code cleanups
Fix a few minor CodingStyle issues at the source code: - Use proper multi-line comments; - Align the log tables; - Remove the .type from dvb_frontend_ops, since this is not needed anymore (since the drivers conversion to DVBv5); - Remove emacs format macro. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
534f4364f9
commit
95f22c5aae
|
@ -67,16 +67,17 @@ struct lgdt3306a_state {
|
||||||
u32 snr;
|
u32 snr;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* -----------------------------------------------
|
/*
|
||||||
LG3306A Register Usage
|
* LG3306A Register Usage
|
||||||
(LG does not really name the registers, so this code does not either)
|
* (LG does not really name the registers, so this code does not either)
|
||||||
0000 -> 00FF Common control and status
|
*
|
||||||
1000 -> 10FF Synchronizer control and status
|
* 0000 -> 00FF Common control and status
|
||||||
1F00 -> 1FFF Smart Antenna control and status
|
* 1000 -> 10FF Synchronizer control and status
|
||||||
2100 -> 21FF VSB Equalizer control and status
|
* 1F00 -> 1FFF Smart Antenna control and status
|
||||||
2800 -> 28FF QAM Equalizer control and status
|
* 2100 -> 21FF VSB Equalizer control and status
|
||||||
3000 -> 30FF FEC control and status
|
* 2800 -> 28FF QAM Equalizer control and status
|
||||||
---------------------------------------------- */
|
* 3000 -> 30FF FEC control and status
|
||||||
|
*/
|
||||||
|
|
||||||
enum lgdt3306a_lock_status {
|
enum lgdt3306a_lock_status {
|
||||||
LG3306_UNLOCK = 0x00,
|
LG3306_UNLOCK = 0x00,
|
||||||
|
@ -2113,9 +2114,6 @@ static struct dvb_frontend_ops lgdt3306a_ops = {
|
||||||
.delsys = { SYS_ATSC, SYS_DVBC_ANNEX_B },
|
.delsys = { SYS_ATSC, SYS_DVBC_ANNEX_B },
|
||||||
.info = {
|
.info = {
|
||||||
.name = "LG Electronics LGDT3306A VSB/QAM Frontend",
|
.name = "LG Electronics LGDT3306A VSB/QAM Frontend",
|
||||||
#if 0
|
|
||||||
.type = FE_ATSC,
|
|
||||||
#endif
|
|
||||||
.frequency_min = 54000000,
|
.frequency_min = 54000000,
|
||||||
.frequency_max = 858000000,
|
.frequency_max = 858000000,
|
||||||
.frequency_stepsize = 62500,
|
.frequency_stepsize = 62500,
|
||||||
|
@ -2144,9 +2142,3 @@ MODULE_DESCRIPTION("LG Electronics LGDT3306A ATSC/QAM-B Demodulator Driver");
|
||||||
MODULE_AUTHOR("Fred Richter <frichter@hauppauge.com>");
|
MODULE_AUTHOR("Fred Richter <frichter@hauppauge.com>");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
MODULE_VERSION("0.2");
|
MODULE_VERSION("0.2");
|
||||||
|
|
||||||
/*
|
|
||||||
* Local variables:
|
|
||||||
* c-basic-offset: 8
|
|
||||||
* End:
|
|
||||||
*/
|
|
||||||
|
|
Loading…
Reference in New Issue