From: Karol Lewandowski Date: Tue, 27 Mar 2012 09:10:27 +0000 (+0200) Subject: i2c-pxa: Drop leftover comment X-Git-Tag: v3.5-rc1~66^2~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bc414b7b9bbccbdeac80757c03a966578d04a9a2;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git i2c-pxa: Drop leftover comment Commit 488bf314b ("i2c: Allow i2c_add_numbered_adapter() to assign a bus id") reworked i2c-pxa driver leaving obsolete comment. This commit simply drops it. Signed-off-by: Karol Lewandowski Signed-off-by: Kyungmin Park Signed-off-by: Wolfram Sang --- diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c index f673326..a997c7d 100644 --- a/drivers/i2c/busses/i2c-pxa.c +++ b/drivers/i2c/busses/i2c-pxa.c @@ -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);