mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 00:25:24 -04:00
power: remove s3c adc battery driver
The s3c-adc driver is removed along with the s3c24xx platform, so the battery driver is no longer needed either. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
@@ -1,39 +0,0 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
#ifndef _S3C_ADC_BATTERY_H
|
||||
#define _S3C_ADC_BATTERY_H
|
||||
|
||||
struct s3c_adc_bat_thresh {
|
||||
int volt; /* mV */
|
||||
int cur; /* mA */
|
||||
int level; /* percent */
|
||||
};
|
||||
|
||||
struct s3c_adc_bat_pdata {
|
||||
int (*init)(void);
|
||||
void (*exit)(void);
|
||||
void (*enable_charger)(void);
|
||||
void (*disable_charger)(void);
|
||||
|
||||
const struct s3c_adc_bat_thresh *lut_noac;
|
||||
unsigned int lut_noac_cnt;
|
||||
const struct s3c_adc_bat_thresh *lut_acin;
|
||||
unsigned int lut_acin_cnt;
|
||||
|
||||
const unsigned int volt_channel;
|
||||
const unsigned int current_channel;
|
||||
const unsigned int backup_volt_channel;
|
||||
|
||||
const unsigned int volt_samples;
|
||||
const unsigned int current_samples;
|
||||
const unsigned int backup_volt_samples;
|
||||
|
||||
const unsigned int volt_mult;
|
||||
const unsigned int current_mult;
|
||||
const unsigned int backup_volt_mult;
|
||||
const unsigned int internal_impedance;
|
||||
|
||||
const unsigned int backup_volt_max;
|
||||
const unsigned int backup_volt_min;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user