-
Guillaume Stols authored
Switching to guard simplifies the code and avoids to take care to unlock the mutex in case of premature return. Signed-off-by:
Guillaume Stols <gstols@baylibre.com> Reviewed-by:
Nuno Sa <nuno.sa@analog.com> Signed-off-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com>
2956979d