staging: unisys: add toolaction to sysfs
authorBenjamin Romer <benjamin.romer@unisys.com>
Tue, 22 Jul 2014 13:56:25 +0000 (09:56 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jul 2014 23:11:00 +0000 (16:11 -0700)
commit19f6634f41ff515082c26ba51280fbcb156de920
treef3ad4c4578035ff10b1571b8edde7830f59da9b7
parent808bcb4e78f7cd79feb89d53d54ea569cbba7386
staging: unisys: add toolaction to sysfs

Move the proc entry for controlling the toolaction field to sysfs. The field
appears in /sys/devices/platform/visorchipset/install/toolaction.

This field is used to tell s-Par which type of recovery tool action to perform
on the next guest boot-up. The meaning of the value is dependent on the type
of installation software used to commission the guest.

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorchipset/visorchipset_main.c