]> git.baikalelectronics.ru Git - kernel.git/commit
w1: core: match sub-nodes of bus masters in devicetree
authorDaniel Mack <daniel@zonque.org>
Fri, 6 Jul 2018 05:35:50 +0000 (07:35 +0200)
committerSebastian Reichel <sre@kernel.org>
Wed, 11 Jul 2018 16:09:08 +0000 (18:09 +0200)
commit7f1aba19370a58ec4a09c1eb368d547bf8e69483
tree6a9486a69b5802af55406fb6269230acdeeaaa1c
parenta6793b14c598faa307ad87872359aeea0893d0a5
w1: core: match sub-nodes of bus masters in devicetree

Once a new slave device is detected, match it against all sub-nodes of the
master bus controller. If a match is found, set the slave device's of_node
pointer.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/w1/w1.c
include/linux/w1.h