drm/xe: Use a NULL pointer instead of 0.
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Wed, 17 Jan 2024 13:40:48 +0000 (14:40 +0100)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 18 Jan 2024 09:47:25 +0000 (10:47 +0100)
commit79f8eacbdf9dad7ead39b3319e31e12d4dc6529e
tree1445f0557d4165db960c7ac46397333419abca3d
parente2dc52f849f8694bdabb75127164c9df622af459
drm/xe: Use a NULL pointer instead of 0.

The last argument of xe_pcode_read() is a pointer. Use NULL instead of 0.

Fixes: 92d44a422d0d ("drm/xe/hwmon: Expose card reactive critical power")
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Francois Dugast <francois.dugast@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240117134048.165425-6-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/xe/xe_hwmon.c