diff options
author | Antti Palosaari <crope@iki.fi> | 2015-04-17 03:36:00 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-06-10 17:05:58 +0300 |
commit | 7978b8a1bc8ae0f2aea1e4f36ef7642a1b86b9c6 (patch) | |
tree | 637a539a29f4478b0da8397cb41dc9edf20c61c7 /drivers/media/dvb-frontends/m88ds3103_priv.h | |
parent | 80868c8e5c04bb725e411b078881b65ebbecd142 (diff) | |
download | linux-7978b8a1bc8ae0f2aea1e4f36ef7642a1b86b9c6.tar.xz |
[media] m88ds3103: rename variables and correct logging
Rename driver state from priv to dev.
Use I2C client for correct logging.
Use adapter and address from I2C client structure where needed.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/m88ds3103_priv.h')
-rw-r--r-- | drivers/media/dvb-frontends/m88ds3103_priv.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/dvb-frontends/m88ds3103_priv.h b/drivers/media/dvb-frontends/m88ds3103_priv.h index 9d7d33430e40..35c7f3eced26 100644 --- a/drivers/media/dvb-frontends/m88ds3103_priv.h +++ b/drivers/media/dvb-frontends/m88ds3103_priv.h @@ -1,5 +1,5 @@ /* - * Montage M88DS3103 demodulator driver + * Montage Technology M88DS3103/M88RS6000 demodulator driver * * Copyright (C) 2013 Antti Palosaari <crope@iki.fi> * @@ -30,8 +30,7 @@ #define M88RS6000_CHIP_ID 0x74 #define M88DS3103_CHIP_ID 0x70 -struct m88ds3103_priv { - struct i2c_adapter *i2c; +struct m88ds3103_dev { struct i2c_client *client; /* mutex needed due to own tuner I2C adapter */ struct mutex i2c_mutex; |