Re: [PATCH] mfd: arizona: Remove totally unused forward declaration

From: Lee Jones
Date: Tue Jan 03 2017 - 09:35:28 EST


On Mon, 28 Nov 2016, Charles Keepax wrote:

> This declaration has never been used and is likely some left over from
> early prototypes of the code, just remove it.
>
> Signed-off-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/mfd/arizona.h | 2 --
> 1 file changed, 2 deletions(-)

Applied, thanks.

> diff --git a/drivers/mfd/arizona.h b/drivers/mfd/arizona.h
> index 198e9ce..a0bddc5 100644
> --- a/drivers/mfd/arizona.h
> +++ b/drivers/mfd/arizona.h
> @@ -17,8 +17,6 @@
> #include <linux/regmap.h>
> #include <linux/pm.h>
>
> -struct wm_arizona;
> -
> extern const struct regmap_config wm5102_i2c_regmap;
> extern const struct regmap_config wm5102_spi_regmap;
>

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