-
Fabien Lahoudere authored
In order to avoid code duplication or errors and to simplify code, this patch adds a function to return the content of a file. It also replaces pieces of code reading sysfs files by the new function. Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
9b9ff12d