diff options
38 files changed, 0 insertions, 93 deletions
diff --git a/drivers/gpu/drm/i915/intel_i2c.c b/drivers/gpu/drm/i915/intel_i2c.c index a5a2f5339e9e..5ee9d4c25753 100644 --- a/drivers/gpu/drm/i915/intel_i2c.c +++ b/drivers/gpu/drm/i915/intel_i2c.c | |||
| @@ -137,10 +137,6 @@ struct intel_i2c_chan *intel_i2c_create(struct drm_device *dev, const u32 reg, | |||
| 137 | chan->reg = reg; | 137 | chan->reg = reg; |
| 138 | snprintf(chan->adapter.name, I2C_NAME_SIZE, "intel drm %s", name); | 138 | snprintf(chan->adapter.name, I2C_NAME_SIZE, "intel drm %s", name); |
| 139 | chan->adapter.owner = THIS_MODULE; | 139 | chan->adapter.owner = THIS_MODULE; |
| 140 | #ifndef I2C_HW_B_INTELFB | ||
| 141 | #define I2C_HW_B_INTELFB I2C_HW_B_I810 | ||
| 142 | #endif | ||
| 143 | chan->adapter.id = I2C_HW_B_INTELFB; | ||
| 144 | chan->adapter.algo_data = &chan->algo; | 140 | chan->adapter.algo_data = &chan->algo; |
| 145 | chan->adapter.dev.parent = &dev->pdev->dev; | 141 | chan->adapter.dev.parent = &dev->pdev->dev; |
| 146 | chan->algo.setsda = set_data; | 142 | chan->algo.setsda = set_data; |
diff --git a/drivers/i2c/busses/i2c-acorn.c b/drivers/i2c/busses/i2c-acorn.c index 75089febbc13..9fee3ca17344 100644 --- a/drivers/i2c/busses/i2c-acorn.c +++ b/drivers/i2c/busses/i2c-acorn.c | |||
| @@ -83,7 +83,6 @@ static struct i2c_algo_bit_data ioc_data = { | |||
| 83 | }; | 83 | }; |
| 84 | 84 | ||
| 85 | static struct i2c_adapter ioc_ops = { | 85 | static struct i2c_adapter ioc_ops = { |
| 86 | .id = I2C_HW_B_IOC, | ||
| 87 | .algo_data = &ioc_data, | 86 | .algo_data = &ioc_data, |
| 88 | }; | 87 | }; |
| 89 | 88 | ||
diff --git a/drivers/i2c/busses/i2c-ali1535.c b/drivers/i2c/busses/i2c-ali1535.c index 9cead9b9458e..981e080b32ae 100644 --- a/drivers/i2c/busses/i2c-ali1535.c +++ b/drivers/i2c/busses/i2c-ali1535.c | |||
| @@ -476,7 +476,6 @@ static const struct i2c_algorithm smbus_algorithm = { | |||
| 476 | 476 | ||
| 477 | static struct i2c_adapter ali1535_adapter = { | 477 | static struct i2c_adapter ali1535_adapter = { |
| 478 | .owner = THIS_MODULE, | 478 | .owner = THIS_MODULE, |
| 479 | .id = I2C_HW_SMBUS_ALI1535, | ||
| 480 | .class = I2C_CLASS_HWMON | I2C_CLASS_SPD, | 479 | .class = I2C_CLASS_HWMON | I2C_CLASS_SPD, |
| 481 | .algo = &smbus_algorithm, | 480 | .algo = &smbus_algorithm, |
| 482 | }; | 481 | }; |
diff --git a/drivers/i2c/busses/i2c-ali1563.c b/drivers/i2c/busses/i2c-ali1563.c index dd9e796fad69..f70f46582c6c 100644 --- a/drivers/i2c/busses/i2c-ali1563.c +++ b/drivers/i2c/busses/i2c-ali1563.c | |||
| @@ -386,7 +386,6 @@ static const struct i2c_algorithm ali1563_algorithm = { | |||
| 386 | 386 | ||
| 387 | static struct i2c_adapter ali1563_adapter = { | 387 | static struct i2c_adapter ali1563_adapter = { |
| 388 | .owner = THIS_MODULE, | 388 | .owner = THIS_MODULE, |
| 389 | .id = I2C_HW_SMBUS_ALI1563, | ||
| 390 | .class = I2C_CLASS_HWMON | I2C_CLASS_SPD, | 389 | .class = I2C_CLASS_HWMON | I2C_CLASS_SPD, |
| 391 | .algo = &ali1563_algorithm, | 390 | .algo = &ali1563_algorithm, |
| 392 | }; | 391 | }; |
diff --git a/drivers/i2c/busses/i2c-ali15x3.c b/drivers/i2c/busses/i2c-ali15x3.c index 234fdde7d40e..39066dee46e3 100644 --- a/drivers/i2c/busses/i2c-ali15x3.c +++ b/drivers/i2c/busses/i2c-ali15x3.c | |||
| @@ -473,7 +473,6 @@ static const struct i2c_algorithm smbus_algorithm = { | |||
| 473 | 473 | ||
| 474 | static struct i2c_adapter ali15x3_adapter = { | 474 | static struct i2c_adapter ali15x3_adapter = { |
| 475 | .owner = THIS_MODULE, | 475 | .owner = THIS_MODULE, |
| 476 | .id = I2C_HW_SMBUS_ALI15X3, | ||
| 477 | .class = I2C_CLASS_HWMON | I2C_CLASS_SPD, | 476 | .class = I2C_CLASS_HWMON | I2C_CLASS_SPD, |
| 478 | .algo = &smbus_algorithm, | 477 | .algo = &smbus_algorithm, |
| 479 | }; | 478 | }; |
diff --git a/drivers/i2c/busses/i2c-amd756.c b/drivers/i2c/busses/i2c-amd756.c index 36bee5b9c952..220f4a1eee1d 100644 --- a/drivers/i2c/busses/i2c-amd756.c +++ b/drivers/i2c/busses/i2c-amd756.c | |||
| @@ -298,7 +298,6 @@ static const struct i2c_algorithm smbus_algorithm = { | |||
| 298 | 298 | ||
| 299 | struct i2c_adapter amd756_smbus = { | 299 | struct i2c_adapter amd756_smbus = { |
| 300 | .owner = THIS_MODULE, | 300 | .owner = THIS_MODULE, |
| 301 | .id = I2C_HW_SMBUS_AMD756, | ||
| 302 | .class = I2C_CLASS_HWMON | I2C_CLASS_SPD, | 301 | .class = I2C_CLASS_HWMON | I2C_CLASS_SPD, |
| 303 | .algo = &smbus_algorithm, | 302 | .algo = &smbus_algorithm, |
| 304 | }; | 303 | }; |
diff --git a/drivers/i2c/busses/i2c-amd8111.c b/drivers/i2c/busses/i2c-amd8111.c index 3972208876b3..edab51973bf5 100644 --- a/drivers/i2c/busses/i2c-amd8111.c +++ b/drivers/i2c/busses/i2c-amd8111.c | |||
| @@ -387,7 +387,6 @@ static int __devinit amd8111_probe(struct pci_dev *dev, | |||
| 387 | smbus->adapter.owner = THIS_MODULE; | 387 | smbus->adapter.owner = THIS_MODULE; |
| 388 | snprintf(smbus->adapter.name, sizeof(smbus->adapter.name), | 388 | snprintf(smbus->adapter.name, sizeof(smbus->adapter.name), |
| 389 | "SMBus2 AMD8111 adapter at %04x", smbus->base); | 389 | "SMBus2 AMD8111 adapter at %04x", smbus->base); |
| 390 | smbus->adapter.id = I2C_HW_SMBUS_AMD8111; | ||
| 391 | smbus->adapter.class = I2C_CLASS_HWMON | I2C_CLASS_SPD; | 390 | smbus->adapter.class = I2C_CLASS_HWMON | I2C_CLASS_SPD; |
| 392 | smbus->adapter.algo = &smbus_algorithm; | 391 | smbus->adapter.algo = &smbus_algorithm; |
| 393 | smbus->adapter.algo_data = smbus; | 392 | smbus->adapter.algo_data = smbus; |
diff --git a/drivers/i2c/busses/i2c-au1550.c b/drivers/i2c/busses/i2c-au1550.c index 66a04c2c660f..f78ce523e3db 100644 --- a/drivers/i2c/busses/i2c-au1550.c +++ b/drivers/i2c/busses/i2c-au1550.c | |||
| @@ -400,7 +400,6 @@ i2c_au1550_probe(struct platform_device *pdev) | |||
| 400 | priv->xfer_timeout = 200; | 400 | priv->xfer_timeout = 200; |
| 401 | priv->ack_timeout = 200; | 401 | priv->ack_timeout = 200; |
| 402 | 402 | ||
| 403 | priv->adap.id = I2C_HW_AU1550_PSC; | ||
| 404 | priv->adap.nr = pdev->id; | 403 | priv->adap.nr = pdev->id; |
| 405 | priv->adap.algo = &au1550_algo; | 404 | priv->adap.algo = &au1550_algo; |
| 406 | priv->adap.algo_data = priv; | 405 | priv->adap.algo_data = priv; |
diff --git a/drivers/i2c/busses/i2c-bfin-twi.c b/drivers/i2c/busses/i2c-bfin-twi.c index 3fd2c417c1e0..fc548b3d002e 100644 --- a/drivers/i2c/busses/i2c-bfin-twi.c +++ b/drivers/i2c/busses/i2c-bfin-twi.c | |||
| @@ -651,7 +651,6 @@ static int i2c_bfin_twi_probe(struct platform_device *pdev) | |||
| 651 | iface->timeout_timer.data = (unsigned long)iface; | 651 | iface->timeout_timer.data = (unsigned long)iface; |
| 652 | 652 | ||
| 653 | p_adap = &iface->adap; | 653 | p_adap = &iface->adap; |
| 654 | p_adap->id = I2C_HW_BLACKFIN; | ||
| 655 | p_adap->nr = pdev->id; | 654 | p_adap->nr = pdev->id; |
| 656 | strlcpy(p_adap->name, pdev->name, sizeof(p_adap->name)); | 655 | strlcpy(p_adap->name, pdev->name, sizeof(p_adap->name)); |
| 657 | p_adap->algo = &bfin_twi_algorithm; | 656 | p_adap->algo = &bfin_twi_algorithm; |
diff --git a/drivers/i2c/busses/i2c-elektor.c b/drivers/i2c/busses/i2c-elektor.c index 0ed3ccb81b63..448b4bf35eb7 100644 --- a/drivers/i2c/busses/i2c-elektor.c +++ b/drivers/i2c/busses/i2c-elektor.c | |||
| @@ -202,7 +202,6 @@ static struct i2c_algo_pcf_data pcf_isa_data = { | |||
| 202 | static struct i2c_adapter pcf_isa_ops = { | 202 | static struct i2c_adapter pcf_isa_ops = { |
| 203 | .owner = THIS_MODULE, | 203 | .owner = THIS_MODULE, |
| 204 | .class = I2C_CLASS_HWMON | I2C_CLASS_SPD, | 204 | .class = I2C_CLASS_HWMON | I2C_CLASS_SPD, |
| 205 | .id = I2C_HW_P_ELEK, | ||
| 206 | .algo_data = &pcf_isa_data, | 205 | .algo_data = &pcf_isa_data, |
| 207 | .name = "i2c-elektor", | 206 | .name = "i2c-elektor", |
| 208 | }; | 207 | }; |
diff --git a/drivers/i2c/busses/i2c-hydra.c b/drivers/i2c/busses/i2c-hydra.c index 648aa7baff83..bec9b845dd16 100644 --- a/drivers/i2c/busses/i2c-hydra.c +++ b/drivers/i2c/busses/i2c-hydra.c | |||
| @@ -102,7 +102,6 @@ static struct i2c_algo_bit_data hydra_bit_data = { | |||
| 102 | static struct i2c_adapter hydra_adap = { | 102 | static struct i2c_adapter hydra_adap = { |
| 103 | .owner = THIS_MODULE, | 103 | .owner = THIS_MODULE, |
| 104 | .name = "Hydra i2c", | 104 | .name = "Hydra i2c", |
| 105 | .id = I2C_HW_B_HYDRA, | ||
| 106 | .algo_data = &hydra_bit_data, | 105 | .algo_data = &hydra_bit_data, |
| 107 | }; | 106 | }; |
| 108 | 107 | ||
diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c index 526625eaa84b..230238df56c4 100644 --- a/drivers/i2c/busses/i2c-i801.c +++ b/drivers/i2c/busses/i2c-i801.c | |||
| @@ -556,7 +556,6 @@ static const struct i2c_algorithm smbus_algorithm = { | |||
| 556 | 556 | ||
| 557 | static struct i2c_adapter i801_adapter = { | 557 | static struct i2c_adapter i801_adapter = { |
| 558 | .owner = THIS_MODULE, | ||
