powerpc/scom: Create debugfs files using ibm,chip-id if available
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 29 Aug 2013 06:56:59 +0000 (16:56 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 11 Oct 2013 05:53:41 +0000 (16:53 +1100)
commit762fd3ab6d2c4b438ce49f54860dc509e591209c
tree246825b8359f906571e4acf373f89bc3f8eaf3ee
parent5f33af4c0059255bcbf82a98a3789a01171b72e5
powerpc/scom: Create debugfs files using ibm,chip-id if available

When creating the debugfs scom files, use "ibm,chip-id" as the scom%d
index rather than a simple made up number when possible.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/scom.c