linux-stable/drivers/of
Rob Herring c6c4c74a0f of: fix missing kobject init for !SYSFS && OF_DYNAMIC config
[ Upstream commit bd82bbf38c ]

The ref counting is broken for OF_DYNAMIC when sysfs is disabled because
the kobject initialization is skipped. Only the properties
add/remove/update should be skipped for !SYSFS config.

Tested-by: Nicolas Pitre <nico@linaro.org>
Reviewed-by: Frank Rowand <frowand.list@gmail.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-24 08:01:13 +02:00
..
unittest-data
address.c of: Add OF_DMA_DEFAULT_COHERENT & select it on powerpc 2020-02-14 16:32:13 -05:00
base.c of: fix missing kobject init for !SYSFS && OF_DYNAMIC config 2020-04-24 08:01:13 +02:00
device.c
dynamic.c
fdt.c
fdt_address.c
irq.c
Kconfig of: Add OF_DMA_DEFAULT_COHERENT & select it on powerpc 2020-02-14 16:32:13 -05:00
Makefile
of_mdio.c drivers/of/of_mdio.c:fix of_mdiobus_register() 2020-04-02 16:34:27 +02:00
of_net.c
of_numa.c
of_pci.c
of_pci_irq.c
of_private.h
of_reserved_mem.c
overlay.c
pdt.c
platform.c
property.c
resolver.c
unittest.c of: unittest: fix memory leak in attach_node_and_children 2019-12-17 20:40:05 +01:00