From patchwork Tue Aug 22 17:33:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 804601 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="wuXGo9Cq"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3xcHjq3Bt8z9s4q for ; Wed, 23 Aug 2017 03:34:23 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751655AbdHVReW (ORCPT ); Tue, 22 Aug 2017 13:34:22 -0400 Received: from conuserg-10.nifty.com ([210.131.2.77]:30851 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751586AbdHVReV (ORCPT ); Tue, 22 Aug 2017 13:34:21 -0400 Received: from grover.sesame (FL1-122-131-185-176.osk.mesh.ad.jp [122.131.185.176]) (authenticated) by conuserg-10.nifty.com with ESMTP id v7MHXwwI006816; Wed, 23 Aug 2017 02:33:58 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com v7MHXwwI006816 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1503423238; bh=uCv7JOAbcLNjBivEUduzs3TOU74u4x3wcSR5/4SYtCA=; h=From:To:Cc:Subject:Date:From; b=wuXGo9CqP0U+IY6z9pLZsc8eTDXXzPm6C1BNtBajsL1UtImnD4al3XPz+O5CPEGkB 9NH7Jy9V+ND8NDEuJSiPSH5/MqRPD0rrYct3JPuBommfR8hslVQyK6GUmAnvvwTz3+ LQzAsx2egpCoS+JapDZxfKkiCnP+BDQUD/Fc4xaXxfaawDYP5YuSz9T6hed/75Hzwb eVcl6BaXojsUeQmWn+RsRdozYGiKJlZJLeHooVXc52mYB0JNfXK6qUzSZYe5EHQy7h XwfSWEU9HE4uUfg2XA1eCD4E2y6szqJ+OiK6Wq/ImgAC5TRNnDTT/3gA12/QWXMRts L4G0H+uBt2vZw== X-Nifty-SrcIP: [122.131.185.176] From: Masahiro Yamada To: linux-gpio@vger.kernel.org Cc: Masahiro Yamada , Linus Walleij , linux-kernel@vger.kernel.org Subject: [PATCH] gpio: twl6040: remove unneeded forward declaration Date: Wed, 23 Aug 2017 02:33:55 +0900 Message-Id: <1503423235-4240-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org There is no reference to twl6040gpo_chip before its definition. Signed-off-by: Masahiro Yamada --- drivers/gpio/gpio-twl6040.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpio/gpio-twl6040.c b/drivers/gpio/gpio-twl6040.c index b780314cdfc9..dadeacf43e0c 100644 --- a/drivers/gpio/gpio-twl6040.c +++ b/drivers/gpio/gpio-twl6040.c @@ -32,8 +32,6 @@ #include -static struct gpio_chip twl6040gpo_chip; - static int twl6040gpo_get(struct gpio_chip *chip, unsigned offset) { struct twl6040 *twl6040 = dev_get_drvdata(chip->parent->parent);