Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2606498iog; Sun, 26 Jun 2022 21:44:12 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vDde/iT/RQDlEqPB3SloqrLqc0V4a5qq4tnBjEcwWQeRFxKKED50B8qduXI51Kj/gYg0YC X-Received: by 2002:a17:90a:474c:b0:1ec:f898:d85b with SMTP id y12-20020a17090a474c00b001ecf898d85bmr13931335pjg.11.1656305052333; Sun, 26 Jun 2022 21:44:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656305052; cv=none; d=google.com; s=arc-20160816; b=riEje3hGeO6EqxNLb94L5XrcXvW13ZAXbMkg/BLJpdbp3AAquoiuCJlwTeaAfiOazK +o0Z9H2f2oq5UKo3RZxibatZHOZxpQq7vHlyse4tWVD93rPzTYA/Qk488LD2l0wX7H/s KS7lDkmmkPNMi8Ou0rYEnBpnbdCWXDo/MZXUEOgrw/UiTKysZIfGCrbt+bFLBcgKTSdU LZjHWVZ/K1FttYBfP9UbOgihHxNbe7mqT9jH/gNKtXqx6zdX9RQbsWDkfdvspW65ka5I 4ZyVeoHNCDho/+3CStu4ZBNHiCYLPNBf9cx3s+Wrbe772CM6pC+IGOmodKncRSnYBuvG PFWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Fg0vJKdecn60sXmjkQ4pSGp+mVjO/rLwQWCMpTOb7y8=; b=FBSrXrjDsC7uHN+GYHFk1eOAUZjjncwdHlyGrIU+Tbw39zTanIgI+ASLoWsJLGK9fo 4Cv4G4RtVLa0RnkuZg/nT/Jeqd2inH7L/1xDOS/pKcdZUz6IAbuZGmctyuknGmie7UxU +EfD2LAzbm3pkutqPrLHUsu7qhVDN7MTn9M2nqoPn4p265xL/DpwKV12PSr2OXY3vhBz QGbV4Oo1kJGlxisR++g59lSjDFMpqUdZ7U5qcEWiz4r86rFev4BV75HIaEA98Ulri9WS hMvnh/Wq5epq9ugOxTVML4f2NkVLkNojNG52ltOvnKc3vFFZrdXNiGvOPqj90Zu2IID+ vg4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=pKe2G8yY; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r12-20020a17090b050c00b001ecb528e0b2si15155889pjz.99.2022.06.26.21.44.01; Sun, 26 Jun 2022 21:44:12 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=pKe2G8yY; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230384AbiF0DkE (ORCPT + 99 others); Sun, 26 Jun 2022 23:40:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229516AbiF0DkC (ORCPT ); Sun, 26 Jun 2022 23:40:02 -0400 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA3065595; Sun, 26 Jun 2022 20:40:01 -0700 (PDT) Received: by mail-pj1-x102f.google.com with SMTP id go6so8047615pjb.0; Sun, 26 Jun 2022 20:40:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=Fg0vJKdecn60sXmjkQ4pSGp+mVjO/rLwQWCMpTOb7y8=; b=pKe2G8yYR/PxRbRglc8TqMkd60YKYwtdNgU/PNdeRZztoOUiPrP9Q1AUE7jFvq391A OTs74z3AJk5DR4dY/YAXK70h94SMGIG1tfrWmAHo7/hEi6sEED2DFIT0xPLLFcD9kwI1 lIV01iVFIMjITq3qFbPq0NTZ/zeuViSWXDRq4ETEpXXLHwsl2v17L2Aavbx8UNDvakjs 6b+pntKnLw3N+FbaQIkyqT1OKUDY2RD1aNV8IxD04ZO/fv13toOEoKql2Ip5c3B3uu9o yDk7TRAzHAmkcehE56X3VaeoBHQYoRUfa+cKDX1oxsQs7sbCA8fs8/5jmOkJ3USXHkbx 1oPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=Fg0vJKdecn60sXmjkQ4pSGp+mVjO/rLwQWCMpTOb7y8=; b=cJbTqkSHI3luHyQqKnfChkF4jh+ZC+CE63OwDVFUGXK7rOvkG813m6R1nZNfMZU59x 9Xg45ldoNivcyoezV7UIJUogbkCED7B9UZiw0YZgkiGs1cJ0mzRcWPzqG8GFf84E1Eyp uuO3296TsStNX9vI1BT3bzsceIvrxKfUA93y2YQ2Qbb7ow70ua6KO57I595zQ7bfWodb LFvFmgVTsAAnFPKFG0gKY81EJcVTdPodSoUGtgqgnbU7qZBjW+NMmDjjHGThPz45Qe0t M4KwA3NWWc5Y3tjyosWzfgI+Ak9nxqTBZ12GkOKAPA3OqJADPMw7WJel+DmRHXZcRz01 LAAw== X-Gm-Message-State: AJIora9xRF5w+2UAnH1NfokhVX796SirTVXAHfFH6q9uACUPoyoTqeVF MQaJPxiHtA/n0UpfHvDpnEL1OprUDMPBcw== X-Received: by 2002:a17:902:f54e:b0:16a:75a9:9a39 with SMTP id h14-20020a170902f54e00b0016a75a99a39mr12366137plf.70.1656301201314; Sun, 26 Jun 2022 20:40:01 -0700 (PDT) Received: from ?IPV6:2401:4900:1c0f:ec3f:8053:b39e:a633:cf03? ([2401:4900:1c0f:ec3f:8053:b39e:a633:cf03]) by smtp.gmail.com with ESMTPSA id q21-20020aa79835000000b0051844a64d3dsm5941313pfl.25.2022.06.26.20.39.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 26 Jun 2022 20:40:00 -0700 (PDT) Message-ID: <924eb8a2-a040-0632-872b-e1951c71c169@gmail.com> Date: Mon, 27 Jun 2022 09:09:52 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH] platform: x86: Remove duplicated include in barco-p50-gpio.c Content-Language: en-GB To: Peter Korsgaard 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 References: <8735fr1bqh.fsf@dell.be.48ers.dk> From: Saurav Girepunje In-Reply-To: <8735fr1bqh.fsf@dell.be.48ers.dk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,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 On 27/06/22 12:41 am, Peter Korsgaard wrote: >>>>>> "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: > I am using git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git . if it fix on another tree . Please ignore this patch. > 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 > >