ACPI: thinkpad-acpi: skip blanks before the data when parsing sysfs
commit32afbf07aa53120c0e3fe1881b948ded99f4fc35
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Mon, 8 Oct 2007 13:12:56 +0000 (8 10:12 -0300)
committerLen Brown <len.brown@intel.com>
Wed, 10 Oct 2007 03:53:52 +0000 (9 23:53 -0400)
tree1d8939e9e890055fd80749c9ef1a79d0fa4288ad
parent2369cc9492a462285f9eec9d2bbfa730cc2ab5ac
ACPI: thinkpad-acpi: skip blanks before the data when parsing sysfs

Skip blanks not just at the tail of sysfs writes, but also at the head.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/thinkpad_acpi.c