PM: Fix PM QOS's user mode interface to work with ASCII input
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 26 May 2011 22:05:23 +0000 (00:05 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 26 May 2011 22:05:23 +0000 (00:05 +0200)
commit0775a60aca2375ea5598741b30d13fe6d3f15617
treeba7cf639955af770f02b72ab80805ae10b43fd10
parentf42a9813fbf930fea3bdd0524dcb43c7feb0c977
PM: Fix PM QOS's user mode interface to work with ASCII input

Make pm_qos_power_write() accept values passed to it in the ASCII hex
format either with or without an ending newline.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Mark Gross <markgross@thegnar.org>
kernel/pm_qos_params.c