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)
commitfae68031f7fbc8b6db58d87830ba7ed1d696fbb1
tree6a9486a69b5802af55406fb6269230acdeeaaa1c
parentda0a5d99b14ced8ec4bf741f5d2457348b932c82
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