power: wakelock: add a proc entry that displays last lock
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Mon, 14 Jun 2010 14:38:15 +0000 (16:38 +0200)
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Mon, 14 Jun 2010 15:00:44 +0000 (17:00 +0200)
commitb2922ab2674fe270dcf572af2b646ae7c27a4b66
treeb798d62a609488e47493faf3c8d6a4f982f6a151
parent961b47948db87f554af56ab1637fb4ac3145e01a
power: wakelock: add a proc entry that displays last lock

That proc entry is needed for compatibility with
  FSO(http://www.freesmartphone.org/)
It would make possible to the userland to know the resume reason

This is a first implementation with:
* fixed size buffer
* no way to clear the buffer yet
kernel/power/Kconfig
kernel/power/wakelock.c