linux/drivers/of
Grant Likely 43c0767e17 of/platform: Move platform devices under /sys/devices/platform
Currently the devices created by drivers/of/platform.c get created at
the root of /sys/devices. This goes against the typical pattern for
sysfs where the top level /sys/devices structure contains categories of
devices, and the structure of devices is placed below that. To fix this,
make the code in drivers/of/platform.c follow the drivers/base/platform.c
behaviour, and use &platform_bus as the default parent for all new
platform_devices and amba_devices.

This change has been discussed for a long time, but nobody has actually
acted on it. Userspace code that expects to find devices under a fixed
/sys/devices/... path will be affected. It isn't /supposed/ to do that,
but if anyone complains then I'll add a default-off workaround option to
put them back into the root.

Signed-off-by: Grant Likely <grant.likely@linaro.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
2014-11-04 16:44:37 +00:00
..
unittest-data of/unittest: Rename selftest.c to unittest.c 2014-11-04 16:43:07 +00:00
address.c of: Request and map make argument name constant 2014-11-04 16:43:08 +00:00
base.c of: Remove spaces before tabs 2014-11-04 16:43:14 +00:00
device.c of: rename of_aliases_mutex to just of_mutex 2014-07-07 13:42:52 +01:00
dynamic.c of: Eliminate of_allnodes list 2014-11-04 13:29:38 +00:00
fdt_address.c of/fdt: add FDT address translation support 2014-05-20 15:19:25 -05:00
fdt.c of: check for size < 0 after rounding in early_init_dt_add_memory_arch 2014-11-04 16:43:10 +00:00
irq.c of/irq: Fix lookup to use 'interrupts-extended' property first 2014-08-16 09:03:58 +01:00
Kconfig of/unittest: Rename selftest.c to unittest.c 2014-11-04 16:43:07 +00:00
Makefile of/unittest: Rename selftest.c to unittest.c 2014-11-04 16:43:07 +00:00
of_mdio.c net: phy: adjust fixed_phy_register() return value 2014-10-07 13:06:45 -04:00
of_mtd.c of_mtd: Add helpers to get ECC strength and ECC step size 2014-03-10 22:42:28 -07:00
of_net.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-04-02 20:53:45 -07:00
of_pci_irq.c of_pci_irq: kill useless variable in of_irq_parse_pci() 2014-05-27 12:13:34 +01:00
of_pci.c of/pci: Add support for parsing PCI host bridge resources from DT 2014-09-30 17:08:57 -06:00
of_private.h of: Transactional DT support. 2014-07-23 17:29:15 -06:00
of_reserved_mem.c drivers: of: add return value to of_reserved_mem_device_init() 2014-10-29 16:33:14 -07:00
pdt.c of: Eliminate of_allnodes list 2014-11-04 13:29:38 +00:00
platform.c of/platform: Move platform devices under /sys/devices/platform 2014-11-04 16:44:37 +00:00
resolver.c of: Introduce Device Tree resolve support. 2014-10-04 21:24:26 +01:00
unittest.c of/unittest: Rename selftest.c to unittest.c 2014-11-04 16:43:07 +00:00