intel_idle: Clean up NULL pointer check in intel_idle_init()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 10 Jan 2020 10:45:49 +0000 (11:45 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 22 Jan 2020 23:37:00 +0000 (00:37 +0100)
commit533da74a8c8d75af7958f4aa1abc944f061d1d85
tree939f9e8330d4a92f7b874131f2c0eb54bb579227
parenta6c86e336282c67a0b04f64b3b5574794249e3e1
intel_idle: Clean up NULL pointer check in intel_idle_init()

Instead of comparing intel_idle_cpuidle_devices with NULL apply
the "!" (not) operator to it when checking it against NULL.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/idle/intel_idle.c