From: Karol Lewandowski <k.lewandowsk@samsung.com>
To: w.sang@pengutronix.de
Cc: ben-linux@fluff.org, m.szyprowski@samsung.com,
linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org,
kyungmin.park@samsung.com, hskinnemoen@gmail.com,
bigeasy@linutronix.de, dirk.brandewie@gmail.com,
linux@arm.linux.org.uk,
Karol Lewandowski <k.lewandowsk@samsung.com>
Subject: [PATCH 1/2] i2c-pxa: Drop leftover comment
Date: Tue, 27 Mar 2012 11:10:27 +0200 [thread overview]
Message-ID: <1332839428-29705-2-git-send-email-k.lewandowsk@samsung.com> (raw)
In-Reply-To: <1332839428-29705-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.1
next prev parent reply other threads:[~2012-03-27 9:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-27 9:10 [PATCH v2 0/2] i2c: Don't assume bus nr 0 if none was specified Karol Lewandowski
2012-03-27 9:10 ` Karol Lewandowski [this message]
2012-03-27 9:10 ` [PATCH 2/2] i2c: Dynamically assign adapter id if it wasn't explictly specified Karol Lewandowski
2012-04-18 10:55 ` [PATCH v2 0/2] i2c: Don't assume bus nr 0 if none was specified Wolfram Sang
-- strict thread matches above, loose matches on Subject: below --
2012-03-16 12:19 [PATCH " Karol Lewandowski
2012-03-16 12:19 ` [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=1332839428-29705-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=hskinnemoen@gmail.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--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®