gbms: misc fixes for testing
No functional changes, only fix compile issues for patchwork.
Bug: 213492076
Signed-off-by: AleX Pelosi <[email protected]>
Change-Id: I08cefed28d10b0a15f9a409f675a7dc335a4121f
diff --git a/max1720x_battery.c b/max1720x_battery.c
index 57f1442..74d7422 100644
--- a/max1720x_battery.c
+++ b/max1720x_battery.c
@@ -260,8 +260,8 @@
/* TODO: split between NV and Volatile? */
-static const struct max17x0x_reg *
-max17x0x_find_by_index(struct max17x0x_regtags *tags, int index)
+static const struct max17x0x_reg * max17x0x_find_by_index(struct max17x0x_regtags *tags,
+ int index)
{
if (index < 0 || !tags || index >= tags->max)
return NULL;
@@ -269,8 +269,8 @@
return &tags->map[index];
}
-static const struct max17x0x_reg *
-max17x0x_find_by_tag(struct max17x0x_regmap *map, enum max17x0x_reg_tags tag)
+static const struct max17x0x_reg * max17x0x_find_by_tag(struct max17x0x_regmap *map,
+ enum max17x0x_reg_tags tag)
{
return max17x0x_find_by_index(&map->regtags, tag);
}