]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbe21cf1b607b4a110dba56b7621d0f5b2505ed94
tree1c290685e037cae5ee25200cf931ed93e4d616be
parent6669cbaad9fe4e341d3db267bf80e09ebd9e351f
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