2016-04-05 08:57:16

by Steve Twiss

[permalink] [raw]
Subject: [PATCH V1] mfd: da9063: remove unused struct da9063_irq_data and define EVENTS_BUF_LEN

From: Steve Twiss <[email protected]>

The structure da9063_irq_data and define EVENTS_BUF_LEN are not used, so
remove the redundant entries.

Signed-off-by: Steve Twiss <[email protected]>

---
This patch applies against linux-next and next-20160405

Regards,
Steve


drivers/mfd/da9063-irq.c | 6 ------
1 file changed, 6 deletions(-)

diff --git a/drivers/mfd/da9063-irq.c b/drivers/mfd/da9063-irq.c
index 0aa760e..7e903fc 100644
--- a/drivers/mfd/da9063-irq.c
+++ b/drivers/mfd/da9063-irq.c
@@ -25,12 +25,6 @@
#define DA9063_REG_EVENT_B_OFFSET 1
#define DA9063_REG_EVENT_C_OFFSET 2
#define DA9063_REG_EVENT_D_OFFSET 3
-#define EVENTS_BUF_LEN 4
-
-struct da9063_irq_data {
- u16 reg;
- u8 mask;
-};

static const struct regmap_irq da9063_irqs[] = {
/* DA9063 event A register */
--
end-of-patch for PATCH V1


2016-04-07 13:52:49

by Lee Jones

[permalink] [raw]
Subject: Re: [PATCH V1] mfd: da9063: remove unused struct da9063_irq_data and define EVENTS_BUF_LEN

On Tue, 05 Apr 2016, Steve Twiss wrote:

> From: Steve Twiss <[email protected]>
>
> The structure da9063_irq_data and define EVENTS_BUF_LEN are not used, so
> remove the redundant entries.
>
> Signed-off-by: Steve Twiss <[email protected]>
>
> ---
> This patch applies against linux-next and next-20160405
>
> Regards,
> Steve
>
>
> drivers/mfd/da9063-irq.c | 6 ------
> 1 file changed, 6 deletions(-)

Applied, thanks.

> diff --git a/drivers/mfd/da9063-irq.c b/drivers/mfd/da9063-irq.c
> index 0aa760e..7e903fc 100644
> --- a/drivers/mfd/da9063-irq.c
> +++ b/drivers/mfd/da9063-irq.c
> @@ -25,12 +25,6 @@
> #define DA9063_REG_EVENT_B_OFFSET 1
> #define DA9063_REG_EVENT_C_OFFSET 2
> #define DA9063_REG_EVENT_D_OFFSET 3
> -#define EVENTS_BUF_LEN 4
> -
> -struct da9063_irq_data {
> - u16 reg;
> - u8 mask;
> -};
>
> static const struct regmap_irq da9063_irqs[] = {
> /* DA9063 event A register */

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