Commit 7978b8a1 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab

[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: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 80868c8e
...@@ -36,7 +36,7 @@ config DVB_STV6110x ...@@ -36,7 +36,7 @@ config DVB_STV6110x
A Silicon tuner that supports DVB-S and DVB-S2 modes A Silicon tuner that supports DVB-S and DVB-S2 modes
config DVB_M88DS3103 config DVB_M88DS3103
tristate "Montage M88DS3103" tristate "Montage Technology M88DS3103"
depends on DVB_CORE && I2C && I2C_MUX depends on DVB_CORE && I2C && I2C_MUX
default m if !MEDIA_SUBDRV_AUTOSELECT default m if !MEDIA_SUBDRV_AUTOSELECT
help help
......
This diff is collapsed.
/* /*
* Montage M88DS3103 demodulator driver * Montage Technology M88DS3103/M88RS6000 demodulator driver
* *
* Copyright (C) 2013 Antti Palosaari <crope@iki.fi> * Copyright (C) 2013 Antti Palosaari <crope@iki.fi>
* *
......
/* /*
* Montage M88DS3103 demodulator driver * Montage Technology M88DS3103/M88RS6000 demodulator driver
* *
* Copyright (C) 2013 Antti Palosaari <crope@iki.fi> * Copyright (C) 2013 Antti Palosaari <crope@iki.fi>
* *
...@@ -30,8 +30,7 @@ ...@@ -30,8 +30,7 @@
#define M88RS6000_CHIP_ID 0x74 #define M88RS6000_CHIP_ID 0x74
#define M88DS3103_CHIP_ID 0x70 #define M88DS3103_CHIP_ID 0x70
struct m88ds3103_priv { struct m88ds3103_dev {
struct i2c_adapter *i2c;
struct i2c_client *client; struct i2c_client *client;
/* mutex needed due to own tuner I2C adapter */ /* mutex needed due to own tuner I2C adapter */
struct mutex i2c_mutex; struct mutex i2c_mutex;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment