Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1280265 > unrolled thread

[PATCH 2/5] i2c: do not use 0x in front of %pa

Started by"Dmitry V. Krivenok" <krivenok.dmitry@gmail.com>
First post2015-11-30 21:50 +0100
Last post2015-12-01 02:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/5] i2c: do not use 0x in front of %pa "Dmitry V. Krivenok" <krivenok.dmitry@gmail.com> - 2015-11-30 21:50 +0100
    Re: [PATCH 2/5] i2c: do not use 0x in front of %pa Wolfram Sang <wsa@the-dreams.de> - 2015-12-01 02:10 +0100

#1280265 — [PATCH 2/5] i2c: do not use 0x in front of %pa

From"Dmitry V. Krivenok" <krivenok.dmitry@gmail.com>
Date2015-11-30 21:50 +0100
Subject[PATCH 2/5] i2c: do not use 0x in front of %pa
Message-ID<qADyy-8ry-25@gated-at.bofh.it>
Signed-off-by: Dmitry V. Krivenok <krivenok.dmitry@gmail.com>
---
 drivers/i2c/busses/i2c-st.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/busses/i2c-st.c b/drivers/i2c/busses/i2c-st.c
index ea72dca..25020ec 100644
--- a/drivers/i2c/busses/i2c-st.c
+++ b/drivers/i2c/busses/i2c-st.c
@@ -822,7 +822,7 @@ static int st_i2c_probe(struct platform_device *pdev)
 
 	adap = &i2c_dev->adap;
 	i2c_set_adapdata(adap, i2c_dev);
-	snprintf(adap->name, sizeof(adap->name), "ST I2C(0x%pa)", &res->start);
+	snprintf(adap->name, sizeof(adap->name), "ST I2C(%pa)", &res->start);
 	adap->owner = THIS_MODULE;
 	adap->timeout = 2 * HZ;
 	adap->retries = 0;
-- 
2.6.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1280447

FromWolfram Sang <wsa@the-dreams.de>
Date2015-12-01 02:10 +0100
Message-ID<qAHC9-2Om-3@gated-at.bofh.it>
In reply to#1280265

[Multipart message — attachments visible in raw view] — view raw

On Mon, Nov 30, 2015 at 11:45:46PM +0300, Dmitry V. Krivenok wrote:
> Signed-off-by: Dmitry V. Krivenok <krivenok.dmitry@gmail.com>

Applied to for-current, thanks! Please make sure to add the i2c-list
next time.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web