cpufreq: intel_pstate: Fix plain int as pointer warning from sparse
authorJamal Shareef <jamal.k.shareef@gmail.com>
Tue, 5 Nov 2019 05:54:27 +0000 (21:54 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 6 Nov 2019 12:34:52 +0000 (13:34 +0100)
commit8d2eecead5bf23865cb73062a4e7139a9dbce5a1
tree01ccabe51fcd36f7fd0f909dd13a656ed945b58c
parent99e18df3a41a044c6ac83e5e8310c228221881c9
cpufreq: intel_pstate: Fix plain int as pointer warning from sparse

Fix sparse warning: Using plain integer as NULL pointer.

Replace assignment of 0 to pointers with NULL assignment.

Signed-off-by: Jamal Shareef <jamal.k.shareef@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c