PM / QoS: Use the correct variable to check the QoS request type
authorJan H. Schönherr <jschoenh@amazon.de>
Tue, 5 Sep 2017 21:14:29 +0000 (23:14 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 18 Sep 2017 11:38:30 +0000 (13:38 +0200)
commit41ba8bd0829f5c210715ece8b0f699bed0da8eb5
treebcfb1d58c5d26331c10ab39a7d95e5520f8c833f
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e
PM / QoS: Use the correct variable to check the QoS request type

Use the actual function argument for the validation of the request type,
instead of the type field in a fresh (supposedly zero-initialized)
request structure.

Signed-off-by: Jan H. Schönherr <jschoenh@amazon.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/qos.c