Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757715AbcDEI5Q (ORCPT ); Tue, 5 Apr 2016 04:57:16 -0400 Received: from mail1.bemta14.messagelabs.com ([193.109.254.106]:40036 "EHLO mail1.bemta14.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756749AbcDEI5O (ORCPT ); Tue, 5 Apr 2016 04:57:14 -0400 X-Greylist: delayed 432 seconds by postgrey-1.27 at vger.kernel.org; Tue, 05 Apr 2016 04:57:14 EDT X-Env-Sender: stwiss.opensource@diasemi.com X-Msg-Ref: server-15.tower-194.messagelabs.com!1459846188!29146407!1 X-Originating-IP: [94.185.165.51] X-StarScan-Received: X-StarScan-Version: 8.11; banners=-,-,- X-VirusChecked: Checked From: Steve Twiss Date: Tue, 5 Apr 2016 09:41:47 +0100 Subject: [PATCH V1] mfd: da9063: remove unused struct da9063_irq_data and define EVENTS_BUF_LEN To: LINUXKERNEL , Lee Jones CC: David Dajun Chen , Support Opensource Message-ID: <20160405084947.B2E0A3FB1D@swsrvapps-01.diasemi.com> MIME-Version: 1.0 Content-Type: text/plain X-KSE-AttachmentFiltering-Interceptor-Info: protection disabled X-KSE-ServerInfo: sw-ex-cashub01.diasemi.com, 9 X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean, bases: 05/04/2016 01:30:00 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 846 Lines: 36 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(-) 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