Do not consider encounter of a section that we are not intersted in
as an error, because several new sections have been added recently.
Change-Id: I9d3f3d6a5dd6e14ca0478ed6f661e39a7519cd46
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
char *name;
char *value;
- _D("Load config. section=%s name=%s value=%s", result->section, result->name, result->value);
-
if (!info)
return -EINVAL;
if (!MATCH(result->section, "BatteryLevelThreshold"))
- return -EINVAL;
+ return 0;
+
+ _D("Load config. section=%s name=%s value=%s", result->section, result->name, result->value);
name = result->name;
value = result->value;