PM / QoS: Improve sysfs pm_qos_latency_tolerance validation
authorAndrew Lutomirski <luto@kernel.org>
Wed, 30 Nov 2016 01:11:50 +0000 (17:11 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 30 Nov 2016 21:34:23 +0000 (22:34 +0100)
commitee061da8d9dfc30ced06f25c18694cffa70eac1e
tree0a0b869ef3b1bf294ec76223bc497933fea26a92
parente5517c2a5a49ed5e99047008629f1cd60246ea0e
PM / QoS: Improve sysfs pm_qos_latency_tolerance validation

Negative values are special.  Don't let users write them directly.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/sysfs.c