of: remove /proc/device-tree
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 6 Nov 2012 21:03:27 +0000 (21:03 +0000)
committerGrant Likely <grant.likely@linaro.org>
Tue, 11 Mar 2014 20:48:32 +0000 (20:48 +0000)
commit8357041a69b368991d1b04d9f1d297f8d71e1314
tree54bc523897eb6c72a95d06efea5c64833fbb51a4
parent7e66c5c74f7348a96d5a3671f8cda4a478242679
of: remove /proc/device-tree

The same data is now available in sysfs, so we can remove the code
that exports it in /proc and replace it with a symlink to the sysfs
version.

Tested on versatile qemu model and mpc5200 eval board. More testing
would be appreciated.

v5: Fixed up conflicts with mainline changes

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: David S. Miller <davem@davemloft.net>
Cc: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
drivers/of/Kconfig
drivers/of/base.c
fs/proc/Makefile
fs/proc/internal.h
fs/proc/proc_devtree.c [deleted file]
fs/proc/root.c
include/linux/of.h