android_kernel_motorola_sm6375/drivers/of
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Grant Likely 07e461cd7e of: Ensure unique names without sacrificing determinism
The way the driver core is implemented, every device using the same bus
type is required to have a unique name because a symlink to each device
is created in the appropriate /sys/bus/*/devices directory, and two
identical names causes a collision.

The current code handles the requirement by using an globally
incremented counter that is appended to the device name. It works, but
it means any change to device registration will change the assigned
numbers. Instead, if we build up the name by using information from the
parent nodes, then it can be guaranteed to be unique without adding a
random number to the end of it.

Signed-off-by: Grant Likely <grant.likely@linaro.org>
Cc: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Cc: Rob Herring <robh@kernel.org>
2014-05-23 07:58:26 +09:00
..
testcase-data of/selftest: add testcase for nodes with same name and address 2014-05-13 14:11:11 -05:00
address.c of: kill off of_can_translate_address 2014-05-13 14:11:09 -05:00
base.c of: Clean up of_update_property 2014-04-15 15:21:22 -05:00
device.c
fdt.c of/fdt: convert initial_boot_params to opaque pointer 2014-04-30 00:59:19 -05:00
irq.c of/irq: do irq resolution in platform_get_irq 2014-04-24 21:40:22 +01:00
Kconfig of/fdt: Convert FDT functions to use libfdt 2014-04-30 00:59:15 -05:00
Makefile of/fdt: Convert FDT functions to use libfdt 2014-04-30 00:59:15 -05:00
of_mdio.c of_mdio: Allow the DT to specify the phy ID and avoid autoprobing 2014-03-20 17:10:28 -04:00
of_mtd.c
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.c
of_pci_irq.c
of_private.h
of_reserved_mem.c of/fdt: update of_get_flat_dt_prop in prep for libfdt 2014-04-30 00:59:15 -05:00
pdt.c
platform.c of: Ensure unique names without sacrificing determinism 2014-05-23 07:58:26 +09:00
selftest.c of/selftest: add testcase for nodes with same name and address 2014-05-13 14:11:11 -05:00