]> git.karo-electronics.de Git - linux-beck.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)
commitba52464a629fab2493925007b00f2ca65d02ed4e
tree89e9308cbdd7002a32bf7f3a42b8442bf0ba54d9
parent07e461cd7e73a84f0e3757932b93cc80976fd749
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