staging: unisys: move chipsetready to sysfs
authorBenjamin Romer <benjamin.romer@unisys.com>
Thu, 24 Jul 2014 18:08:43 +0000 (14:08 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jul 2014 22:06:44 +0000 (15:06 -0700)
commit18b87ed1d041e7b1162481e38e2dc5a87b9a1689
tree33e2840a12e91d75f284f0066c93cbe5b6a6ac03
parent422af17c67b8ea2bcf39b6f6db7341f5b62c1b12
staging: unisys: move chipsetready to sysfs

Move the chipsetready proc entry to sysfs under a new directory guest. This
entry is used by Unisys application software on the guest to acknowledge
completion of specific events for integration purposes, but these
acknowledgements are not required for the guest to operate correctly.

The store function is simplified as well, to use scanf() instead of copying
the buffer and using strsep().

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