Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1110873pxj; Sat, 15 May 2021 04:18:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJErTmu9jCEkCA4HGyCq2ZVUcKKL8/SXOYeQYMcxWsPJ/SkrOmT3TnMOcYt7hpP3Um7wT1 X-Received: by 2002:a05:6e02:2189:: with SMTP id j9mr23800364ila.3.1621077502491; Sat, 15 May 2021 04:18:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621077502; cv=none; d=google.com; s=arc-20160816; b=dV21L8AMdnRVQkMaFLkraf4XUqdhbSYq7+KRHOHtrphPwA/7o166yQLHfybnwjAkGf pEys3HI9h6rtY4R9fwUjCsagpCGvc0UKBRjgNC1eo6VcV8xHpDOr5xnjThmw/zTWwkMs RMaaV0Peoorbo78HCH9HDRNgofhIDpMYYtmavE/ndvXd6ZxSmo4C4jlp7LVwdEdL9UOo QR8rI+bpSCzKRHW/0LM+dkrvXnPTIW9eKWyPt97Av71GtzdV6VECXozH/AVhp8b7YgR+ YdeimVXB/7m9kotchnk1bDy6oh6He9ypjs1+UH4J8ywEBU9avHeDiAeQYodR2ofhcmO0 owwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=t8BjOD14/zfrRT9J2IBjHxA1EstqGY6nrbX9XG/Uqgw=; b=OrfuTphCGc+WEeXj5qVl0WNLlN2DN5gXE7Lhnt9epeUWzx2LGtbrjQE8K2iJFNg8VY tgqn6nwOl7RqeJSo5yYDtV5KMQjActs+Ept7lISVKqzArsdP1ohdLyn+Re9l5MgVvkCj GrDbxiBmKQZmA4QrALOG0x95Z7idyGonFC9EjyOxgcb2lo7gMh1kA3PZr6zx3tw+M+Kn UZ2Z5nHK/BHOutfoYlzkGmQJiUTOmjGskwoidI7SXaR68WoWwLkBAwpS1SRCdBjwypH1 4NrjANVpmnJqjJ8+6Ou0Gti1LyH5n7QEcfBLZI6X/FD/71atK+Mkbc353T/TGXyt60rj Slew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@deviqon.com header.s=google header.b="Q/ehuhlO"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=deviqon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h127si8374729iof.102.2021.05.15.04.18.09; Sat, 15 May 2021 04:18:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@deviqon.com header.s=google header.b="Q/ehuhlO"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=deviqon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233788AbhEOIAj (ORCPT + 99 others); Sat, 15 May 2021 04:00:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233801AbhEOIAh (ORCPT ); Sat, 15 May 2021 04:00:37 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3314C06174A for ; Sat, 15 May 2021 00:59:24 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id l7so1105297edb.1 for ; Sat, 15 May 2021 00:59:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=deviqon.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=t8BjOD14/zfrRT9J2IBjHxA1EstqGY6nrbX9XG/Uqgw=; b=Q/ehuhlO06rEtD0RVIMgwXJe67yhu6Fz46cpD/Ye6XiyQnAV6R+srVKCqlVhfPM3jP 45xUAQnK0YJGk/25MIGqW4qNEmAUIkgK/v6dGejdo2lCiaCfxUUD1dRFi4LgFBmadDwv G4vYwJDu8opTGhesnOItmD82eRQTy8CKQq6/gDHr7qgV/45DlR4kl07n/gcLGyyoQgE/ d9NlkuBtPJHDnzxal8JtfQJ+drCK/MdFQeZtWh3s6bDSccfu/x9YZW9Te3myFn/TZu12 RihZo7CpZnDgtFF8l0bwz8ohCkMqS8f59cxOfgGe3LJp90WYtcKf83GuF6woGTYm9WhJ p6gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=t8BjOD14/zfrRT9J2IBjHxA1EstqGY6nrbX9XG/Uqgw=; b=iQ+n7Zx7PxH6isrgyo5+nVsyjbt/yglZnc4/kgReiURpR11pqmh9zxBl/p+cWS5v9G kcQuYQvG49+srsopWBTN4KOsjsVrACRplyDBS0SOmOCNOnpKyZ9zQvIKYmQvSEw8CbsZ idnu1Kz3P8HdEEfAKJBrzwlFjC4Ka3LHfFKF8QO9r23c8k+2uoqukTnX7NwLLkBTjADt wjB8+w+pQpTMrn4AuM3aSxRtCNoOlI/XkgOWK0MNN/oNy5Oojqx2OzsCTDwZczvkGj9m Ui/iC+6sF0M5VtXxOGzGIYLfTejAFWHXGQQ839wsP6fY0Tc7u7zxwnsP0IWmEHtrI2mw j6MA== X-Gm-Message-State: AOAM5310zD4TNppbdQKoNAi/fO42iRNZGAkNr8QvjQIr+PtwmqqijBgt cpZxV1GmM0IycWCSqySp3FvnBw== X-Received: by 2002:a05:6402:204b:: with SMTP id bc11mr60780971edb.40.1621065563457; Sat, 15 May 2021 00:59:23 -0700 (PDT) Received: from neptune.. ([188.27.131.122]) by smtp.gmail.com with ESMTPSA id ch30sm6185520edb.92.2021.05.15.00.59.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 May 2021 00:59:23 -0700 (PDT) From: Alexandru Ardelean To: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: linus.walleij@linaro.org, bgolaszewski@baylibre.com, jonathanh@nvidia.com, thierry.reding@gmail.com, Alexandru Ardelean Subject: [PATCH 1/2] gpio: gpio-tegra186: remove empty remove hook Date: Sat, 15 May 2021 10:59:04 +0300 Message-Id: <20210515075905.12150-1-aardelean@deviqon.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The tegra186_gpio_remove hook simply does a return 0. Not defining it yields pretty much the same result. So, this can be removed. Signed-off-by: Alexandru Ardelean --- drivers/gpio/gpio-tegra186.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/gpio/gpio-tegra186.c b/drivers/gpio/gpio-tegra186.c index 1bd9e44df718..10d3597e9ac2 100644 --- a/drivers/gpio/gpio-tegra186.c +++ b/drivers/gpio/gpio-tegra186.c @@ -750,11 +750,6 @@ static int tegra186_gpio_probe(struct platform_device *pdev) return 0; } -static int tegra186_gpio_remove(struct platform_device *pdev) -{ - return 0; -} - #define TEGRA186_MAIN_GPIO_PORT(_name, _bank, _port, _pins) \ [TEGRA186_MAIN_GPIO_PORT_##_name] = { \ .name = #_name, \ @@ -924,7 +919,6 @@ static struct platform_driver tegra186_gpio_driver = { .of_match_table = tegra186_gpio_of_match, }, .probe = tegra186_gpio_probe, - .remove = tegra186_gpio_remove, }; module_platform_driver(tegra186_gpio_driver); -- 2.31.1