On Fri, Jun 3, 2016 at 9:21 AM, Russell King rmk+kernel@armlinux.org.uk wrote:
Add common OF-based component functionality for matching devices by device node, and releasing the device node at the appropraite time.
Signed-off-by: Russell King rmk+kernel@armlinux.org.uk
drivers/of/Makefile | 2 +- drivers/of/of_component.c | 41 +++++++++++++++++++++++++++++++++++++++++ include/linux/of_component.h | 14 ++++++++++++++
I'd prefer this to go into drivers/base/component.c. That's the general direction we've been moving.
I'd expect this would cause some build failures unless the cases you converted all depend on CONFIG_OF.
Rob