powerpc: Split __SYSFS_SPRSETUP macro
authorSam bobroff <sam.bobroff@au1.ibm.com>
Wed, 21 May 2014 06:32:37 +0000 (16:32 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 28 May 2014 03:35:39 +0000 (13:35 +1000)
commit39a360ef7234942333436709fd6cf641d5c51b7b
tree1c290685e037cae5ee25200cf931ed93e4d616be
parentb717d98543d90c50f398ddfe9665483d09adca7a
powerpc: Split __SYSFS_SPRSETUP macro

Split the __SYSFS_SPRSETUP macro into two parts so that registers requiring
custom read and write functions can use common code for their show and store
functions.

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/sysfs.c