Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 165ACC47094 for ; Mon, 7 Jun 2021 12:27:04 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AD78660BBB for ; Mon, 7 Jun 2021 12:27:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AD78660BBB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3423F82AAC; Mon, 7 Jun 2021 14:26:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1623068819; bh=17HjhHnLsQhWn0QcycEmPFCMPZ73grmcRWI7Wwdzx7c=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=uSqiJfDft0yta6V0hKshyskhN/VRhug1EiAV90Lb258KF2Znnk1q+p724+/hsF76V XSxpMGKK8OEq0ujgoREDTqZLMFDDKL7MSNycYJiM1+9HQFbv06r9eoPDqCpCZerhXe kKCPPzhMWSa8U/p5BA/Ryp7g9GBJQXOA3l/yKYTV2cNQfLa292FZU5ZZqwleLAx601 qNaKS//jceyoiWCSpCYAuqrze/NtAEtZoUuJARx1XJJeeS0k3LgSjOhtdQggtWgM57 y1a6fZzFwOYi5iBd10x/DtaqJxKUrucjYhfgQ8faRDBXV2nnl4t9UbuL7/GDFbdpDw Y4x/IEb36WkFQ== Received: from localhost.localdomain (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: lukma@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 3EF6281FD5; Mon, 7 Jun 2021 14:26:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1623068817; bh=17HjhHnLsQhWn0QcycEmPFCMPZ73grmcRWI7Wwdzx7c=; h=From:To:Cc:Subject:Date:From; b=bF3BywApQ0Aw8kLExKcWOGvLoz8jr/Jw4TmaCk/e7igaF+mkmSzClHrIi+WVRDDzC iYZK1lTkdTJ7tvQCOrIsD4DcsTcBwnj9zC2qp2bcVZqHerJKAdfbHoB7gr//Xv1JHA rdQbbMZjmxdqcsuG2KLv4ceIl1CR1jPqsurKda67O6bMAU8NPzERk9FuGMoayxjb5A mah9SwadAtt0eo3SjFjTflC1GtZCn2Sj13vWOs3rbD8Ii+moiDw/j0ADncDNcHR2TY gZc3jJZ5qHFRggn43c9NIfUIfHwtVmUfJuQtb7abxRsCc8GE0SHDt76B8pboXsc+4M ZViE63KgsRbCA== From: Lukasz Majewski To: u-boot@lists.denx.de Cc: Lukasz Majewski , Heiko Schocher , Simon Glass Subject: [PATCH 1/2] i2c: pcf8575: Remove not used members of pcf8575_chip structure Date: Mon, 7 Jun 2021 14:26:33 +0200 Message-Id: <20210607122634.19556-1-lukma@denx.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean Those members are not used anymore as ones from gpio_dev_priv structure (when DM_GPIO support is enabled) are used instead. Signed-off-by: Lukasz Majewski --- drivers/gpio/pcf8575_gpio.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpio/pcf8575_gpio.c b/drivers/gpio/pcf8575_gpio.c index 359646266c93..bae9695f28b1 100644 --- a/drivers/gpio/pcf8575_gpio.c +++ b/drivers/gpio/pcf8575_gpio.c @@ -34,8 +34,6 @@ DECLARE_GLOBAL_DATA_PTR; struct pcf8575_chip { - int gpio_count; /* No. GPIOs supported by the chip */ - /* NOTE: these chips have strange "quasi-bidirectional" I/O pins. * We can't actually know whether a pin is configured (a) as output * and driving the signal low, or (b) as input and reporting a low @@ -49,7 +47,6 @@ struct pcf8575_chip { * reset state. Otherwise it flags pins to be driven low. */ unsigned int out; /* software latch */ - const char *bank_name; /* Name of the expander bank */ }; /* Read/Write to 16-bit I/O expander */ -- 2.20.1