Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755973AbcDGNwt (ORCPT ); Thu, 7 Apr 2016 09:52:49 -0400 Received: from mail-wm0-f54.google.com ([74.125.82.54]:38629 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751436AbcDGNws (ORCPT ); Thu, 7 Apr 2016 09:52:48 -0400 Date: Thu, 7 Apr 2016 14:52:43 +0100 From: Lee Jones To: Steve Twiss Cc: LINUXKERNEL , David Dajun Chen , Support Opensource Subject: Re: [PATCH V1] mfd: da9063: remove unused struct da9063_irq_data and define EVENTS_BUF_LEN Message-ID: <20160407135243.GC3323@x1> References: <20160405084947.B2E0A3FB1D@swsrvapps-01.diasemi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160405084947.B2E0A3FB1D@swsrvapps-01.diasemi.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1090 Lines: 44 On Tue, 05 Apr 2016, Steve Twiss wrote: > From: Steve Twiss > > The structure da9063_irq_data and define EVENTS_BUF_LEN are not used, so > remove the redundant entries. > > Signed-off-by: Steve Twiss > > --- > 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