macintosh/windfarm_pm121: Fix warning comparing pointer to 0
authorHaowen Bai <baihaowen@meizu.com>
Thu, 17 Mar 2022 02:57:02 +0000 (10:57 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 Nov 2022 12:12:17 +0000 (23:12 +1100)
commita823307bf0a3b79b27eea916bf6499ba4377cdf9
tree80ad8ed08a500db46f1ccb1ce76ac518ccd2a16b
parent88316944c3b3aa3ce3249c51689ef1621049df9d
macintosh/windfarm_pm121: Fix warning comparing pointer to 0

Avoid pointer type value compared with 0 to make code clear.

Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1647485822-16717-1-git-send-email-baihaowen@meizu.com
drivers/macintosh/windfarm_pm121.c