]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit19dd15bb73e3426c3f66d6f2cb5ad9edceaf26dd
tree246825b8359f906571e4acf373f89bc3f8eaf3ee
parentf7579cbaa8e34e53a1b92829a6a51d4d139dc24b
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