Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d5a0f0fd authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "of_batterydata: Add function declarations"

parents 11567338 fceded73
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
#include <linux/module.h>
#include <linux/types.h>
#include <linux/batterydata-lib.h>
#include <linux/of_batterydata.h>
#include <linux/power_supply.h>

static int of_batterydata_read_lut(const struct device_node *np,
+2 −2
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ int of_batterydata_read_data(struct device_node *container_node,
 * from device tree based on the battery id reading.
 */
struct device_node *of_batterydata_get_best_profile(
		struct device_node *batterydata_container_node,
		const struct device_node *batterydata_container_node,
		int batt_id_kohm, const char *batt_type);

/**
@@ -91,7 +91,7 @@ static inline int of_batterydata_read_data(struct device_node *container_node,
	return -ENXIO;
}
static inline struct device_node *of_batterydata_get_best_profile(
		struct device_node *batterydata_container_node,
		const struct device_node *batterydata_container_node,
		int batt_id_kohm, const char *batt_type)
{
	return NULL;