projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54ecb8f
)
i3c: master: use i3c_dev_get_master()
author
Vitor Soares
<Vitor.Soares@synopsys.com>
Thu, 5 Sep 2019 11:06:52 +0000
(13:06 +0200)
committer
Boris Brezillon
<boris.brezillon@collabora.com>
Tue, 1 Oct 2019 10:57:30 +0000
(12:57 +0200)
Since we have i3c_dev_get_master() available, use it.
Signed-off-by: Vitor Soares <vitor.soares@synopsys.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
drivers/i3c/master.c
patch
|
blob
|
history
diff --git
a/drivers/i3c/master.c
b/drivers/i3c/master.c
index 5c051dba32a51fa8a00b3e7304cbc7bc9cad2aee..31d2f8e96f0127681fc52134a03dbff5b2773e99 100644
(file)
--- a/
drivers/i3c/master.c
+++ b/
drivers/i3c/master.c
@@
-1763,7
+1763,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) {