|
@@ -1131,11 +1131,6 @@ static int i2c_pxa_probe(struct platform_device *dev)
|
|
|
spin_lock_init(&i2c->lock);
|
|
|
init_waitqueue_head(&i2c->wait);
|
|
|
|
|
|
- /*
|
|
|
- * If "dev->id" is negative we consider it as zero.
|
|
|
- * The reason to do so is to avoid sysfs names that only make
|
|
|
- * sense when there are multiple adapters.
|
|
|
- */
|
|
|
i2c->adap.nr = dev->id;
|
|
|
snprintf(i2c->adap.name, sizeof(i2c->adap.name), "pxa_i2c-i2c.%u",
|
|
|
i2c->adap.nr);
|