Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2311820iog; Sun, 26 Jun 2022 12:15:46 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t/Zpul/t7jIYrpJ7dMio++4io1hemytaQIOfdNbqCsqJW1ZDx/2U09RnxTFyeYP0AncjqH X-Received: by 2002:a17:902:684c:b0:16a:1fe3:6392 with SMTP id f12-20020a170902684c00b0016a1fe36392mr10776558pln.128.1656270946237; Sun, 26 Jun 2022 12:15:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656270946; cv=none; d=google.com; s=arc-20160816; b=NcBff7zY8+EXf/OfiT03hsEvSSXrm966o/Lcuw6IVX2IilUkWS0TS12C0HsvjIlULV EMhkVPouzOwS0SsDKpiq7fxlGb6xZRgzh9hpfBwv8g3l06OaXWODfR8m93dCYYe6lzFG gXLAMseoB1TDKguPO1bwG07ZrDZuOQuE0AIvbXkwypOKdmbC30U5pgob+w3MkLLM3qZn HJi8lUKFJahWruboX+79PQy0s1QqNX9JxxQTDoQe3k3fYx1IX9QAVq664Zy0pW4rrL3B UZQWJPBj/IjoAeFwCK4oEnUC0s8QsTCFCz66jrAtOuqXBkiO0J4JH/I6Ibc2rGPN3E6q C7qA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from; bh=EtFdIXXsO2i18wkXeHzCaRxuMT+8DjUsugdbHWMkUhw=; b=MCnRRFS5RwHWBgT8+Rv7PXPk2sc5c2B1dDz0v86NXWeqrDTVMxpRFNh0j82FiQSeDP k4gbhipW1DSDBQ0VlbCmNw65qsCCxrmnL8UP8VWgAL3u7qOgAtC/kNyI7IuoDTT3wXVx Lip770d26Qly+eseBDPLxHcJM9Vm998Wl7od+IFNLxcB3i5z2DBu/fr78TKVWg9kqOnC P5xoC4Bvr9YRKdv1cj71oYkR1NjGgOOfYhCAFkEuSNjnKRppPNWUfGRm71QOWAwANaH+ /XPg2QAgrzlYxZcWCg7ns6PHgdo7hk0le7VnRujaQRojHvY6YQsbYZlnqXA5ZxaHsSbk XjbQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j12-20020a63e74c000000b0040d40aa9827si11762286pgk.533.2022.06.26.12.15.34; Sun, 26 Jun 2022 12:15:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231713AbiFZTLZ (ORCPT + 99 others); Sun, 26 Jun 2022 15:11:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229775AbiFZTLY (ORCPT ); Sun, 26 Jun 2022 15:11:24 -0400 Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8A4FBCAE; Sun, 26 Jun 2022 12:11:22 -0700 (PDT) Received: (Authenticated sender: peter@korsgaard.com) by mail.gandi.net (Postfix) with ESMTPSA id F0E29C0005; Sun, 26 Jun 2022 19:11:19 +0000 (UTC) Received: from peko by dell.be.48ers.dk with local (Exim 4.94.2) (envelope-from ) id 1o5XfC-00CMMP-Iw; Sun, 26 Jun 2022 21:11:18 +0200 From: Peter Korsgaard To: Saurav Girepunje Cc: santoshkumar.yadav@barco.com, peter.korsgaard@barco.com, hdegoede@redhat.com, markgross@kernel.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, saurav.girepunje@hotmail.com Subject: Re: [PATCH] platform: x86: Remove duplicated include in barco-p50-gpio.c References: Date: Sun, 26 Jun 2022 21:11:18 +0200 In-Reply-To: (Saurav Girepunje's message of "Sun, 26 Jun 2022 22:45:28 +0530") Message-ID: <8735fr1bqh.fsf@dell.be.48ers.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>>>> "Saurav" == Saurav Girepunje writes: > Remove the duplicate include of linux/io.h in barco-p50-gpio.c > file. > Signed-off-by: Saurav Girepunje What tree is this against? The io.h include in the line just above delay.h was already removed by: commit 011881b80ebe773914b59905bce0f5e0ef93e7ba Author: Jiasheng Jiang Date: Thu May 26 17:03:45 2022 +0800 platform/x86: barco-p50-gpio: Add check for platform_driver_register As platform_driver_register() could fail, it should be better to deal with the return value in order to maintain the code consisitency. Fixes: 86af1d02d458 ("platform/x86: Support for EC-connected GPIOs for identify LED/button on Barco P50 board") Signed-off-by: Jiasheng Jiang Acked-by: Peter Korsgaard Link: https://lore.kernel.org/r/20220526090345.1444172-1-jiasheng@iscas.ac.cn Signed-off-by: Hans de Goede > --- > drivers/platform/x86/barco-p50-gpio.c | 1 - > 1 file changed, 1 deletion(-) > diff --git a/drivers/platform/x86/barco-p50-gpio.c b/drivers/platform/x86/barco-p50-gpio.c > index f5c72e33f9ae..bb8ed8e95225 100644 > --- a/drivers/platform/x86/barco-p50-gpio.c > +++ b/drivers/platform/x86/barco-p50-gpio.c > @@ -14,7 +14,6 @@ > #include > #include > #include > -#include > #include > #include > #include > -- > 2.33.0 -- Bye, Peter Korsgaard