From: Tom Zanussi <tom.zanu...@intel.com> i2c_adapter.id has been removed and it's not used by anything, so remove it.
Signed-off-by: Tom Zanussi <tom.zanu...@intel.com> --- drivers/gpu/drm-psb/intel_i2c.c | 4 ---- drivers/gpu/drm-psb/psb_i2c.c | 1 - 2 files changed, 0 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm-psb/intel_i2c.c b/drivers/gpu/drm-psb/intel_i2c.c index 4104c95..ba257e3 100644 --- a/drivers/gpu/drm-psb/intel_i2c.c +++ b/drivers/gpu/drm-psb/intel_i2c.c @@ -139,10 +139,6 @@ struct intel_i2c_chan *intel_i2c_create(struct drm_device *dev, const u32 reg, chan->reg = reg; snprintf(chan->adapter.name, I2C_NAME_SIZE, "intel drm %s", name); chan->adapter.owner = THIS_MODULE; -#ifndef I2C_HW_B_INTELFB -#define I2C_HW_B_INTELFB I2C_HW_B_I810 -#endif - chan->adapter.id = I2C_HW_B_INTELFB; chan->adapter.algo_data = &chan->algo; chan->adapter.dev.parent = &dev->pdev->dev; chan->algo.setsda = set_data; diff --git a/drivers/gpu/drm-psb/psb_i2c.c b/drivers/gpu/drm-psb/psb_i2c.c index 69def5b..804292a 100644 --- a/drivers/gpu/drm-psb/psb_i2c.c +++ b/drivers/gpu/drm-psb/psb_i2c.c @@ -136,7 +136,6 @@ struct intel_i2c_chan *intel_i2c_create(struct drm_device *dev, chan->reg = reg; snprintf(chan->adapter.name, I2C_NAME_SIZE, "intel drm %s", name); chan->adapter.owner = THIS_MODULE; - chan->adapter.id = I2C_HW_B_INTELFB; chan->adapter.algo_data = &chan->algo; chan->adapter.dev.parent = &dev->pdev->dev; chan->algo.setsda = set_data; -- 1.7.0.4 _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto