pwm: always return a value if stated in prototype
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -226,6 +226,7 @@ maa_pwm_unexport(maa_pwm_context* dev)
|
|||||||
fclose(unexport_f);
|
fclose(unexport_f);
|
||||||
if (ferror(unexport_f) != 0)
|
if (ferror(unexport_f) != 0)
|
||||||
return MAA_ERROR_INVALID_RESOURCE;
|
return MAA_ERROR_INVALID_RESOURCE;
|
||||||
|
return MAA_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
maa_result_t
|
maa_result_t
|
||||||
|
|||||||
Reference in New Issue
Block a user