]> git.baikalelectronics.ru Git - kernel.git/commit
of: Stop naming platform_device using dcr address
authorGrant Likely <grant.likely@linaro.org>
Thu, 22 May 2014 22:50:50 +0000 (07:50 +0900)
committerGrant Likely <grant.likely@linaro.org>
Thu, 22 May 2014 23:28:02 +0000 (08:28 +0900)
commit1b5f8258bc0916c34fc87f0a9a9cf8a98b9ab3ef
tree89e9308cbdd7002a32bf7f3a42b8442bf0ba54d9
parent9f0810fa3fd87656fa38ed6ef497e6c7a99c1896
of: Stop naming platform_device using dcr address

There is now a way to ensure all platform devices get a unique name when
populated from the device tree, and the DCR_NATIVE code path is broken
anyway. PowerPC Cell (PS3) is the only platform that actually uses this
path.  Most likely nobody will notice if it is killed. Remove the code
and associated ugly #ifdef.

The user-visible impact of this patch is that any DCR device on Cell
will get a new name in the /sys/devices hierarchy.

Signed-off-by: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/dcr-mmio.h
arch/powerpc/sysdev/dcr.c
drivers/of/platform.c