diff options
author | Antti Palosaari <crope@iki.fi> | 2014-09-01 01:57:26 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-21 22:39:47 (GMT) |
commit | a781edd16c9da9c3cd9ceea36c780895b87417d2 (patch) | |
tree | 6e1be9edac4f3907a960622594c2d7bf0d755655 /drivers/media/dvb-frontends/af9033.h | |
parent | ee36381ee8cec66ff976ad2c91e85dbee4a02859 (diff) | |
download | linux-a781edd16c9da9c3cd9ceea36c780895b87417d2.tar.xz |
[media] af9033: remove I2C addr from config
I2C driver address is passed as a i2c_new_device() parameter when
device is created. Thus no need to keep it in config struct.
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/af9033.h')
-rw-r--r-- | drivers/media/dvb-frontends/af9033.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/media/dvb-frontends/af9033.h b/drivers/media/dvb-frontends/af9033.h index 1b968d0..6ad22b6 100644 --- a/drivers/media/dvb-frontends/af9033.h +++ b/drivers/media/dvb-frontends/af9033.h @@ -24,13 +24,12 @@ #include <linux/kconfig.h> +/* + * I2C address (TODO: are these in 8-bit format?) + * 0x38, 0x3a, 0x3c, 0x3e + */ struct af9033_config { /* - * I2C address - */ - u8 i2c_addr; - - /* * clock Hz * 12000000, 22000000, 24000000, 34000000, 32000000, 28000000, 26000000, * 30000000, 36000000, 20480000, 16384000 |