From patchwork Fri Dec 15 08:46:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wang Jinchao X-Patchwork-Id: 179105 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp9129008dys; Fri, 15 Dec 2023 00:46:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IHKIzmof9ccGzUteY58CxVB/Pr4jW5mFbxCHJ9AKn2lQ/JFlIaQ2wOfc7tFG+JzTDSLbD18 X-Received: by 2002:a17:906:430a:b0:a1c:f745:e0b7 with SMTP id j10-20020a170906430a00b00a1cf745e0b7mr5191992ejm.107.1702629989717; Fri, 15 Dec 2023 00:46:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702629989; cv=none; d=google.com; s=arc-20160816; b=cmS+ORu/ix0LpPL1EIWxir0JDEgXccSk7sun2laJ+GYVDXBn28Okm4JLaUQTgHk9NW rs+QVeZ1w3MKO4AKNjCBd1MFd145/sr4vsUUNlWWXqnex15yxf7f/MyP1KL8che4Rbty nXIXbdLpa9VsnPI37aGtdVac3MWmFcFXvDqOKEBNWMzuqROr22NyOloKvcFH2/RkF5iX vhoQ7/Vi/Bzhg+dEJB2eLR23EQucJ6TpizReNorXorqaSAzSSA29kYEZ6Atxcf/BZ4mT kdpk2cB8hbOfHK99cb6/hPxW9bm7ig4scCedh03NzN5+aBUaPCOtuqTkOf/VqrhS8Vka kJnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date; bh=9kscF6NkxaRPp//sCEPwSj5E2k2j4KsTB9OJzmwc2Ys=; fh=vpsdTbTCUVuAUNp3tL+XYBDZe6gNwwSeSrZeNFmNj70=; b=ZJVBhGglQ8Bm7VEPnRS05uoUnrA3ZTO+s0qxgpo2uAS/wmce+GubXqiAjxXlfy3rxE atfuUqGgvldm2cVge4bhrqf9igtdR3FnGDR6eW9JyvA0qZY+gLLVD1tABBxmFF/uR/YQ P4NDQzeHBLJ1mdgWDt1p8olcL3UWhoFNVDcnbYj6WgUnY4zT8gnMkaAas+xrsrGRd7xX crzDYPHB8j7SB1/dHADlKmm11DjthPyj+xny07ZWHnH/LDgvIw9xEAQcdDHlmAAHQU8t HDA8opuxLMRmhq5HTQQGDYG6lQz9sWZ4SvoMo0RXmDp3SmKoMZovg4wbOSoaK1gldtIK gz6A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-634-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-634-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id y21-20020a170906471500b00a1f8c3d575bsi5338527ejq.589.2023.12.15.00.46.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 00:46:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-634-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-634-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-634-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 56C3E1F2268C for ; Fri, 15 Dec 2023 08:46:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C43EE171D2; Fri, 15 Dec 2023 08:46:11 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from wxsgout04.xfusion.com (wxsgout04.xfusion.com [36.139.87.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6A68C11C83; Fri, 15 Dec 2023 08:46:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=xfusion.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=xfusion.com Received: from wuxshcsitd00600.xfusion.com (unknown [10.32.133.213]) by wxsgout04.xfusion.com (SkyGuard) with ESMTPS id 4Ss2lt63z3zB2Nhg; Fri, 15 Dec 2023 16:42:34 +0800 (CST) Received: from localhost (10.82.147.3) by wuxshcsitd00600.xfusion.com (10.32.133.213) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Fri, 15 Dec 2023 16:46:04 +0800 Date: Fri, 15 Dec 2023 16:46:04 +0800 From: Wang Jinchao To: Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , , CC: , Subject: [PATCH] gpiolib: cleanup for duplicated including Message-ID: <202312151645+0800-wangjinchao@xfusion.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline X-ClientProxiedBy: wuxshcsitd00602.xfusion.com (10.32.132.250) To wuxshcsitd00600.xfusion.com (10.32.133.213) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785336944023432159 X-GMAIL-MSGID: 1785336944023432159 rm second `#include ` Signed-off-by: Wang Jinchao --- include/linux/gpio/driver.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h index 0aed62f0c633..d659ba63bc20 100644 --- a/include/linux/gpio/driver.h +++ b/include/linux/gpio/driver.h @@ -789,8 +789,6 @@ int gpio_device_get_base(struct gpio_device *gdev); #else /* CONFIG_GPIOLIB */ -#include - #include static inline struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc)