From: Grant Likely Date: Fri, 28 Nov 2014 16:03:33 +0000 (+0000) Subject: of: Drop ->next pointer from struct device_node X-Git-Tag: omap-for-v3.19/fixes-rc1~127^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70161ff336674ecfd20614a9c0c61cb17a6e9e83;p=pandora-kernel.git of: Drop ->next pointer from struct device_node The ->next pointer in struct device_node is a hanger-on from when it was used to iterate over the whole tree by a particular device_type property value. Those days are long over, but the fdt unflattening code still uses it to put nodes in the unflattened tree into the same order as node in the flat tree. By reworking the unflattening code to reverse the list after unflattening all the children of a node, the pointer can be dropped which gives a small amount of memory savings. Signed-off-by: Grant Likely Acked-by: Frank Rowand Cc: Gaurav Minocha --- Reading git-diff-tree failed