Linux-i3c Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] i3c: master: use i3c_dev_get_master()
@ 2019-09-05 11:06 Vitor Soares
  2019-09-17  9:42 ` Vitor Soares
  0 siblings, 1 reply; 2+ messages in thread
From: Vitor Soares @ 2019-09-05 11:06 UTC (permalink / raw)
  To: linux-i3c; +Cc: Joao.Pinto, Vitor Soares, bbrezillon

Since we have i3c_dev_get_master() available, use it.

Signed-off-by: Vitor Soares <vitor.soares@synopsys.com>
---
 drivers/i3c/master.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i3c/master.c b/drivers/i3c/master.c
index 5f4bd52..d54039a 100644
--- a/drivers/i3c/master.c
+++ b/drivers/i3c/master.c
@@ -1779,7 +1779,7 @@ static void i3c_master_bus_cleanup(struct i3c_master_controller *master)
 static struct i3c_dev_desc *
 i3c_master_search_i3c_dev_duplicate(struct i3c_dev_desc *refdev)
 {
-	struct i3c_master_controller *master = refdev->common.master;
+	struct i3c_master_controller *master = i3c_dev_get_master(refdev);
 	struct i3c_dev_desc *i3cdev;
 
 	i3c_bus_for_each_i3cdev(&master->bus, i3cdev) {
-- 
2.7.4


_______________________________________________
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [PATCH] i3c: master: use i3c_dev_get_master()
  2019-09-05 11:06 [PATCH] i3c: master: use i3c_dev_get_master() Vitor Soares
@ 2019-09-17  9:42 ` Vitor Soares
  0 siblings, 0 replies; 2+ messages in thread
From: Vitor Soares @ 2019-09-17  9:42 UTC (permalink / raw)
  To: Vitor Soares, linux-i3c; +Cc: Joao Pinto, bbrezillon

Hi Boris,

Friendly ping.

Best regards,
Vitor Soares

-----Original Message-----
From: Vitor Soares <vitor.soares@synopsys.com> 

Sent: Thursday, September 5, 2019 12:07 PM
To: 
linux-i3c@lists.infradead.org
Cc: bbrezillon@kernel.org; Joao Pinto 
<jpinto@synopsys.com>; Vitor Soares <vitor.soares@synopsys.com>
Subject: 
[PATCH] i3c: master: use i3c_dev_get_master()

Since we have i3c_dev_get_master() available, use it.

Signed-off-by: Vitor Soares <vitor.soares@synopsys.com>
---
 
drivers/i3c/master.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i3c/master.c b/drivers/i3c/master.c
index 5f4bd52..d54039a 100644
--- a/drivers/i3c/master.c
+++ b/drivers/i3c/master.c
@@ -1779,7 +1779,7 @@ static void i3c_master_bus_cleanup(struct 
i3c_master_controller *master)
 static struct i3c_dev_desc *
 i3c_master_search_i3c_dev_duplicate(struct i3c_dev_desc *refdev)
 {
-	struct i3c_master_controller *master = refdev->common.master;
+	struct i3c_master_controller *master = i3c_dev_get_master(refdev);
 	struct i3c_dev_desc *i3cdev;
 
 	i3c_bus_for_each_i3cdev(&master->bus, i3cdev) {
-- 
2.7.4


_______________________________________________
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-05 11:06 [PATCH] i3c: master: use i3c_dev_get_master() Vitor Soares
2019-09-17  9:42 ` Vitor Soares

Linux-i3c Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-i3c/0 linux-i3c/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-i3c linux-i3c/ https://lore.kernel.org/linux-i3c \
		linux-i3c@lists.infradead.org
	public-inbox-index linux-i3c

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-i3c


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git