From: Karol Lewandowski <k.lewandowsk@samsung.com>
To: w.sang@pengutronix.de
Cc: ben-linux@fluff.org, khali@linux-fr.org,
linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org,
hskinnemoen@gmail.com, dirk.brandewie@gmail.com,
bigeasy@linutronix.de, m.szyprowski@samsung.com,
grant.likely@secretlab.ca, kyungmin.park@samsung.com,
Karol Lewandowski <k.lewandowsk@samsung.com>
Subject: [PATCH 1/2] i2c-pxa: Drop leftover comment
Date: Fri, 16 Mar 2012 13:19:02 +0100 [thread overview]
Message-ID: <1331900343-6743-2-git-send-email-k.lewandowsk@samsung.com> (raw)
In-Reply-To: <1331900343-6743-1-git-send-email-k.lewandowsk@samsung.com>
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 <k.lewandowsk@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
drivers/i2c/busses/i2c-pxa.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c
index d603646..b81fd10 100644
--- a/drivers/i2c/busses/i2c-pxa.c
+++ b/drivers/i2c/busses/i2c-pxa.c
@@ -1074,11 +1074,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);
--
1.7.9
next prev parent reply other threads:[~2012-03-16 12:19 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-16 12:19 [PATCH 0/2] i2c: Don't assume bus nr 0 if none was specified Karol Lewandowski
2012-03-16 12:19 ` Karol Lewandowski [this message]
2012-03-16 12:19 ` [PATCH 2/2] i2c: Dynamically assign adapter id if it wasn't explictly specified Karol Lewandowski
2012-03-22 15:28 ` Karol Lewandowski
2012-03-22 16:11 ` Russell King - ARM Linux
2012-03-22 17:03 ` Karol Lewandowski
2012-03-22 16:58 ` David Daney
2012-03-22 17:48 ` Karol Lewandowski
2012-03-22 18:07 ` David Daney
2012-03-22 21:47 ` Wolfram Sang
2012-03-26 9:14 ` Karol Lewandowski
2012-03-16 12:27 ` [PATCH 0/2] i2c: Don't assume bus nr 0 if none was specified Karol Lewandowski
2012-03-17 10:50 ` Grant Likely
2012-03-27 9:10 [PATCH v2 " Karol Lewandowski
2012-03-27 9:10 ` [PATCH 1/2] i2c-pxa: Drop leftover comment Karol Lewandowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1331900343-6743-2-git-send-email-k.lewandowsk@samsung.com \
--to=k.lewandowsk@samsung.com \
--cc=ben-linux@fluff.org \
--cc=bigeasy@linutronix.de \
--cc=dirk.brandewie@gmail.com \
--cc=grant.likely@secretlab.ca \
--cc=hskinnemoen@gmail.com \
--cc=khali@linux-fr.org \
--cc=kyungmin.park@samsung.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=w.sang@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®