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

Skip to content
Commit 01e00127 authored by Amir Vajid's avatar Amir Vajid
Browse files

PM / devfreq: memlat: add missing alloc check in start_hwmon



Add a check in start_hwmon() to confirm alloc_attr() was able
to allocate memory and return -ENOMEM on failure.

Change-Id: I8cadaacc70ad13d60b6225b0d04e11e5b9aa9e5e
Signed-off-by: default avatarAmir Vajid <avajid@codeaurora.org>
parent 25064a00
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