Skip to content

Commit eb2d90c

Browse files
krzkbroonie
authored andcommitted
mfd: max77693: Remove unused structures
The max77693 regulator driver no longer supports board files. Remove the left-overs. Additionally fix name of device in comment. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 222d0f0 commit eb2d90c

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

‎include/linux/mfd/max77693.h‎

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,14 @@
3030
#ifndef __LINUX_MFD_MAX77693_H
3131
#define __LINUX_MFD_MAX77693_H
3232

33-
/* MAX77686 regulator IDs */
33+
/* MAX77693 regulator IDs */
3434
enum max77693_regulators {
3535
MAX77693_ESAFEOUT1 = 0,
3636
MAX77693_ESAFEOUT2,
3737
MAX77693_CHARGER,
3838
MAX77693_REG_MAX,
3939
};
4040

41-
struct max77693_regulator_data {
42-
int id;
43-
struct regulator_init_data *initdata;
44-
struct device_node *of_node;
45-
};
46-
4741
struct max77693_reg_data {
4842
u8 addr;
4943
u8 data;
@@ -103,10 +97,6 @@ struct max77693_led_platform_data {
10397
/* MAX77693 */
10498

10599
struct max77693_platform_data {
106-
/* regulator data */
107-
struct max77693_regulator_data *regulators;
108-
int num_regulators;
109-
110100
/* muic data */
111101
struct max77693_muic_platform_data *muic_data;
112102
struct max77693_led_platform_data *led_data;

0 commit comments

Comments
 (0)