Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 67474db3 authored by Kiran Gunda's avatar Kiran Gunda
Browse files

thermal: qpnp-temp-alarm: Fix compilation error



Checks against NULL for "pdev", "pdev->dev" and "of_node" are not
necessary as these are not expected to be NULL in the probe. Hence
remove these checks. This addresses the compilation issue as well.

Change-Id: Ifd9d8910dc81edaee1f3998e5d9f9e463aab65d5
Signed-off-by: default avatarKiran Gunda <kgunda@codeaurora.org>
parent 3364ad12
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment