Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Krzysztof Kozlowski and committed by
Mark Brown
eb2d90c0 222d0f04

+1 -11
+1 -11
include/linux/mfd/max77693.h
··· 30 30 #ifndef __LINUX_MFD_MAX77693_H 31 31 #define __LINUX_MFD_MAX77693_H 32 32 33 - /* MAX77686 regulator IDs */ 33 + /* MAX77693 regulator IDs */ 34 34 enum max77693_regulators { 35 35 MAX77693_ESAFEOUT1 = 0, 36 36 MAX77693_ESAFEOUT2, 37 37 MAX77693_CHARGER, 38 38 MAX77693_REG_MAX, 39 - }; 40 - 41 - struct max77693_regulator_data { 42 - int id; 43 - struct regulator_init_data *initdata; 44 - struct device_node *of_node; 45 39 }; 46 40 47 41 struct max77693_reg_data { ··· 97 103 /* MAX77693 */ 98 104 99 105 struct max77693_platform_data { 100 - /* regulator data */ 101 - struct max77693_regulator_data *regulators; 102 - int num_regulators; 103 - 104 106 /* muic data */ 105 107 struct max77693_muic_platform_data *muic_data; 106 108 struct max77693_led_platform_data *led_data;