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:
Amir Vajid <avajid@codeaurora.org>
Loading
Please register or sign in to comment