mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
power: battery: Add "cp" prefix to cp iio channel names
Add "cp" prefix to all cp iio channel names for readability. Change-Id: I4dfabb861160906870988d4093fe73028d344c7b Signed-off-by: Ashish Chavan <ashichav@codeaurora.org>
This commit is contained in:
parent
1a6f8ce5e2
commit
0870dbcbd7
3 changed files with 5 additions and 5 deletions
|
|
@ -150,9 +150,9 @@ enum {
|
|||
|
||||
/* CP Channels */
|
||||
static const char * const bat_cp_ext_iio_chan[] = {
|
||||
[BAT_CP_PARALLEL_MODE] = "parallel_mode",
|
||||
[BAT_CP_PARALLEL_OUTPUT_MODE] = "parallel_output_mode",
|
||||
[BAT_CP_MIN_ICL] = "min_icl",
|
||||
[BAT_CP_PARALLEL_MODE] = "cp_parallel_mode",
|
||||
[BAT_CP_PARALLEL_OUTPUT_MODE] = "cp_parallel_output_mode",
|
||||
[BAT_CP_MIN_ICL] = "cp_min_icl",
|
||||
[BAT_CP_SWITCHER_EN] = "cp_switcher_en",
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -431,7 +431,7 @@ enum smb5_iio_channels {
|
|||
};
|
||||
|
||||
static const char * const cp_slave_iio_chans[] = {
|
||||
[CURRENT_CAPABILITY] = "current_capability",
|
||||
[CURRENT_CAPABILITY] = "cp_current_capability",
|
||||
[CP_ENABLE] = "cp_enable",
|
||||
[CP_INPUT_CURRENT_MAX] = "cp_input_current_max",
|
||||
};
|
||||
|
|
|
|||
|
|
@ -867,7 +867,7 @@ int smblib_set_aicl_cont_threshold(struct smb_chg_param *param,
|
|||
|
||||
/* CP channels */
|
||||
static const char * const smblib_cp_ext_iio_chan[] = {
|
||||
[CP_PARALLEL_OUTPUT_MODE] = "parallel_output_mode",
|
||||
[CP_PARALLEL_OUTPUT_MODE] = "cp_parallel_output_mode",
|
||||
[CP_MASTER_ENABLE] = "cp_enable",
|
||||
[CP_ILIM] = "cp_ilim",
|
||||
[CP_DIE_TEMP] = "cp_die_temp",
|
||||
|
|
|
|||
Loading…
Reference in a new issue