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

Skip to content
Commit e05ee6be authored by Ram Chandrasekar's avatar Ram Chandrasekar
Browse files

drivers: thermal: cpu_isolate: Add NULL check for get_cpu_device



The get_cpu_device API could return NULL for invalid CPU input. So it is
best to do a NULL check before using the return value.

Change-Id: I47fea510265b1c4d0983f3a16258cd054c59989f
Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
parent 54f3590a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment