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

Commit 3ddca062 authored by Rhyland Klein's avatar Rhyland Klein Committed by Anton Vorontsov
Browse files

sbs-battery: Rename internals to new name



Now that this driver is named more generally, this change updates
the internal variables, defines and functions to use this new name.

Signed-off-by: default avatarRhyland Klein <rklein@nvidia.com>
Signed-off-by: default avatarAnton Vorontsov <cbouatmailru@gmail.com>
parent c78f2b64
Loading
Loading
Loading
Loading
+204 −219

File changed.

Preview size limit exceeded, changes collapsed.

+5 −5
Original line number Diff line number Diff line
/*
 * Gas Gauge driver for TI's BQ20Z75
 * Gas Gauge driver for SBS Compliant Gas Gauges
 *
 * Copyright (c) 2010, NVIDIA Corporation.
 *
@@ -18,21 +18,21 @@
 * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */

#ifndef __LINUX_POWER_BQ20Z75_H_
#define __LINUX_POWER_BQ20Z75_H_
#ifndef __LINUX_POWER_SBS_BATTERY_H_
#define __LINUX_POWER_SBS_BATTERY_H_

#include <linux/power_supply.h>
#include <linux/types.h>

/**
 * struct bq20z75_platform_data - platform data for bq20z75 devices
 * struct sbs_platform_data - platform data for sbs devices
 * @battery_detect:		GPIO which is used to detect battery presence
 * @battery_detect_present:	gpio state when battery is present (0 / 1)
 * @i2c_retry_count:		# of times to retry on i2c IO failure
 * @poll_retry_count:		# of times to retry looking for new status after
 *				external change notification
 */
struct bq20z75_platform_data {
struct sbs_platform_data {
	int battery_detect;
	int battery_detect_present;
	int i2c_retry_count;