Re: [PATCH 2/2] mfd: max77693: Remove unused structures

Lee Jones
2015-01-20T15:18:17Z

On Fri, 19 Dec 2014, Krzysztof Kozlowski wrote:

> 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>
> ---
> include/linux/mfd/max77693.h | 12 +-----------
> 1 file changed, 1 insertion(+), 11 deletions(-)

For my own reference:

Acked-by: Lee Jones <lee.jones@linaro.org>

> diff --git a/include/linux/mfd/max77693.h b/include/linux/mfd/max77693.h
> index f0b6585cd874..09a4dedaeea8 100644
> --- a/include/linux/mfd/max77693.h
> +++ b/include/linux/mfd/max77693.h
> @@ -30,7 +30,7 @@
> #ifndef __LINUX_MFD_MAX77693_H
> #define __LINUX_MFD_MAX77693_H
>
> -/* MAX77686 regulator IDs */
> +/* MAX77693 regulator IDs */
> enum max77693_regulators {
> MAX77693_ESAFEOUT1 = 0,
> MAX77693_ESAFEOUT2,
> @@ -38,12 +38,6 @@ enum max77693_regulators {
> MAX77693_REG_MAX,
> };
>
> -struct max77693_regulator_data {
> - int id;
> - struct regulator_init_data *initdata;
> - struct device_node *of_node;
> -};
> -
> struct max77693_reg_data {
> u8 addr;
> u8 data;
> @@ -103,10 +97,6 @@ struct max77693_led_platform_data {
> /* MAX77693 */
>
> struct max77693_platform_data {
> - /* regulator data */
> - struct max77693_regulator_data *regulators;
> - int num_regulators;
> -
> /* muic data */
> struct max77693_muic_platform_data *muic_data;
> struct max77693_led_platform_data *led_data;

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog