]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7f92dc8573ee37d19425e81e0aa59209ce8ee5b6
tree33e2840a12e91d75f284f0066c93cbe5b6a6ac03
parentdb2362d327afac542c36ea6d90729ec1c338c6f3
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