aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/msp3400-driver.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@brturbo.com.br>2006-01-09 12:53:26 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-01-09 12:53:26 -0500
commitcab462f716cdd522edc71436482d8734e8258489 (patch)
treec3ec0ceaee9b5d61148afea728cc6c05e682856f /drivers/media/video/msp3400-driver.c
parent0680481c8e6260e1780a0900990531f0193b0dd4 (diff)
V4L/DVB (3307): Some cleanups at I2C modules
- i2c names shorten - removed obsoleted flags on newer modules - small cleanups Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'drivers/media/video/msp3400-driver.c')
-rw-r--r--drivers/media/video/msp3400-driver.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/video/msp3400-driver.c b/drivers/media/video/msp3400-driver.c
index eece5fe46cb..fbd85120c33 100644
--- a/drivers/media/video/msp3400-driver.c
+++ b/drivers/media/video/msp3400-driver.c
@@ -106,10 +106,8 @@ MODULE_PARM_DESC(dolby, "Activates Dolby processsing");
106 106
107/* Addresses to scan */ 107/* Addresses to scan */
108static unsigned short normal_i2c[] = { 0x80 >> 1, 0x88 >> 1, I2C_CLIENT_END }; 108static unsigned short normal_i2c[] = { 0x80 >> 1, 0x88 >> 1, I2C_CLIENT_END };
109
110I2C_CLIENT_INSMOD; 109I2C_CLIENT_INSMOD;
111 110
112
113/* ----------------------------------------------------------------------- */ 111/* ----------------------------------------------------------------------- */
114/* functions for talking to the MSP3400C Sound processor */ 112/* functions for talking to the MSP3400C Sound processor */
115 113
@@ -975,7 +973,6 @@ static int msp_attach(struct i2c_adapter *adapter, int address, int kind)
975 client->addr = address; 973 client->addr = address;
976 client->adapter = adapter; 974 client->adapter = adapter;
977 client->driver = &i2c_driver; 975 client->driver = &i2c_driver;
978 client->flags = I2C_CLIENT_ALLOW_USE;
979 snprintf(client->name, sizeof(client->name) - 1, "msp3400"); 976 snprintf(client->name, sizeof(client->name) - 1, "msp3400");
980 977
981 if (msp_reset(client) == -1) { 978 if (msp_reset(client) == -1) {
@@ -1119,7 +1116,6 @@ static struct i2c_driver i2c_driver = {
1119 .suspend = msp_suspend, 1116 .suspend = msp_suspend,
1120 .resume = msp_resume, 1117 .resume = msp_resume,
1121 }, 1118 },
1122 .owner = THIS_MODULE,
1123}; 1119};
1124 1120
1125static int __init msp3400_init_module(void) 1121static int __init msp3400_init_module(void)