Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp102521lqh; Wed, 27 Mar 2024 16:35:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXsnh/J/1BqYjqC3X1mLBvALtkxqkdp8p8QqUqdvBbVlNMxq7JI1v9oQrqnf822FC/NtMsoSq4CDltrLXJ3TeGdIzMolHe3k7Na1FnKRw== X-Google-Smtp-Source: AGHT+IH1/877TpGjBJOMgbUQvKGUzKoxZnVEM6je2U3yvkWhtSIfX2/VvAAHkuZsTUDYoDmJHaM9 X-Received: by 2002:a17:906:2416:b0:a45:94bf:18e6 with SMTP id z22-20020a170906241600b00a4594bf18e6mr530589eja.73.1711582525914; Wed, 27 Mar 2024 16:35:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711582525; cv=pass; d=google.com; s=arc-20160816; b=mVbtVD4W/BP+ChvaQ0cXMBfbbOM4uxPUpQmRz+EH9QMU1lTbY82+H5lL0lUE4SlhFP VHOaoyl7ut6acy2cOA2OMgrjCl0PUO+WadtUFs568/dbSwpSzK97YXcW4tEkhcZuZdKt qe8XmrB0ZoMu21tKiNzcRYQ8bj1M2tAZkntdkWtIPk7YjUtIpGFE0WyVv6FHocTVUX6z dfZlJK9tdRsGGH8U0qeIgMt0BddMYLnHzMVIml1/WHfOqIkv8XgRym7utWLICiLedxqo llp0/fq6a+iSDMJyvMk3/1+8/4yD2Cou7n8zkQgfcUwQ5AkHylH1AY2wKs5lUe7aCKN+ at9A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=z0/+i5Xjmaje00PqJ8amwVARW1ROVxGdWi9EGRaNR18=; fh=X6bKsbwion2z90CewMan8RQTwJCSrIC3blwZG1G/02U=; b=oi1czWIQJhS+sBiS7gUyVzdFNHGHQNgCwYlgvPe/CqQ8rxI12XDxgV5eodhuqNXqZI PRACm7UKIE5eUXDE8W0nMW2I7Lbl3iCdh9nyk98xKfAN2F5Cudj2ESIaAxN3zEUM9jUc L7spEI4U6QIYh0GA0zAXIWGb3mx9LXHZ/GOV38KE0neC1DZ1C790QqYTpLhIiPkStb7T kbKZkc24cGEmL/ptPDZYAe3tDiavZAArQBq1rJjL3WMDTIFDHSWHg7noFWjj/A6bfloW pEMXkfulWFzh8E6pegLJuFQSsilJ0L3weIiZ5zPBdB8EviBL0QAQ19JE8pahE/vwDNyX ugSw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=MV6jpx12; arc=pass (i=1 spf=pass spfdomain=gmx.de dkim=pass dkdomain=gmx.de dmarc=pass fromdomain=gmx.de); spf=pass (google.com: domain of linux-kernel+bounces-122189-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122189-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=gmx.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id br19-20020a170906d15300b00a46e8c027f4si74361ejb.179.2024.03.27.16.35.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 16:35:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122189-linux.lists.archive=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; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=MV6jpx12; arc=pass (i=1 spf=pass spfdomain=gmx.de dkim=pass dkdomain=gmx.de dmarc=pass fromdomain=gmx.de); spf=pass (google.com: domain of linux-kernel+bounces-122189-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122189-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=gmx.de 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 A336D1F2CF6F for ; Wed, 27 Mar 2024 23:35:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3830F154C08; Wed, 27 Mar 2024 23:35:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmx.de header.i=w_armin@gmx.de header.b="MV6jpx12" Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (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 BFD1F18EA5; Wed, 27 Mar 2024 23:35:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.227.15.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711582518; cv=none; b=dhzOyNIXe1F0UPx9yGyuOk3HsgR9OEVdFXiAtPGjsLwCHf0HWIgo6AZbfrgeXx1BtOvp4ea5JCo+pgUjRHYh/LJNQfUKME+/L95W7VhGyNyqFKK4RtGm3O0sCOEqrGk5IPBMCFCYMNyRXg3lTBtajofl0EyiUPs4svyDkvJMaSI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711582518; c=relaxed/simple; bh=ggoohYJsb9ECAI0rJrpLDy3B0jegVcju5LyHVqBpo7M=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=YhfyuWoYJWrleDH1tb3U6tPg1KAyXOiBO+9izW8i26uq96PbJrkV45Gn34N+ZymNTT20snj21iZxhfhgx4SfcP+S2QmO4xBrq2/fF10zZYWVH+DEgm9LzKGthIbsPJJIyhNTy2fkV1magRiGz9ffJpRFnMj15tyyrFysqAcfJ7E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.de; spf=pass smtp.mailfrom=gmx.de; dkim=pass (2048-bit key) header.d=gmx.de header.i=w_armin@gmx.de header.b=MV6jpx12; arc=none smtp.client-ip=212.227.15.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1711582507; x=1712187307; i=w_armin@gmx.de; bh=z0/+i5Xjmaje00PqJ8amwVARW1ROVxGdWi9EGRaNR18=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From: In-Reply-To; b=MV6jpx12qjWbhA6y4BDdQDB5Cl2B+dNnRheOf4oxJdXh46HOdezN7H6KIYSU/KHY 9XoMnP2s/sUPzFyJqgxduHR6k14UCooqlRhmtr7sjrj2996+19jajMeCgyUpezKFD OwKMKUpYokS62MacGWIUExCnvwV9msfCgYP07DOVkdOxAoT5rWEl8DI/VuS4YgID7 GBSeKIbcML009JkyIVgO8Nj9Knqq1auStO+hP8zhf7oMGwhNfaazzWhgxrNQFPOmj 7cKZUWHp57PuQ6PA/90CPWD1Go3y8bqTAoBgElpBKdOzD9UDKadNXnqyAdiWXM1CT k8Bnl2y5aaeCwuOExg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [141.30.226.129] ([141.30.226.129]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N63Vi-1svj6p2584-016Q0R; Thu, 28 Mar 2024 00:35:07 +0100 Message-ID: Date: Thu, 28 Mar 2024 00:35:06 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 1/1] platform/x86: quickstart: Miscellaneous improvements To: Andy Shevchenko , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Hans de Goede , =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= References: <20240327215208.649020-1-andy.shevchenko@gmail.com> Content-Language: en-US From: Armin Wolf In-Reply-To: <20240327215208.649020-1-andy.shevchenko@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:BIeLkcVTChRbaQCHDz81Pnahp38AVv64pZ+c2NbsBfJfQAsYSIr VBM8vdNcLunCYLCb8XojykRNYOQUcgZV68dxBNgGwA93VRx+/6PzRBSu7AYi8PFC/xiHlDD LplGjVFtBQrjd4ts18Bc8WZc2ldu3ywknpBkcsBNlkvcptRVSawgPd0YSuNQe1lVsRb4tv4 1wmaAn/4lv1o5lZbVxVhg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:l58OXnBeQuA=;2opCUHfijmXnrgZCra7bo1x24q9 drV/WbAc3kzibNjBAHaPVqajBh0AlVaJazNdmPJzc4AJg0mZF4kzDtbhJyCLY0RTNVfCN987Q TB8FhOzynXc3gLaxP0ZXeiTOjIkcIgEPdH6VOtIQ5joCTxvOY7Y0E6JjzsXfB1JbeBVKRicrV JV/kEMjEaWcQZnGcrrTnGiTO9loa1OmvmzIkek0pQNBrGsmsGIEhmgVFzQygYrrRQfIzD5Ak6 GKUGS2eiL1OiKKwEBdMBIR9X86orUH1z7+3EYD1dOg2608XXM/3t3jRpFhhYpDZ0XZg+gBUvC 7i7ablI3HVWhK1qicrV5XjsI2yMEwqK/buqIbqa8qxJ0/vz/DHNXqNizJ1Fm7zHXFAevdUe2E vOHxLcXmvx5cPJTZZcqs5dO1vAaXlznMIzpfJleQg8PAEW/If0POWP9nKvGT9JHznWcu1Qv3o SMVbpRD5VXiSRU1y6pUZItZPl1NRlPyVVGhBkWqn+5cECCV8PIU8oQ8BvfC8ianlggloofjvw jyQPZrDZSsmm/9O8ttoJ1CcF44WjQk0VpLjjAIbBuV9S4TLzGeh1FZROUg91k1qrHP9NAYWn4 32DXPzWaLnJj0LTQEDjDeHbnvp3tHJrZ2ZZJHJkNy34gX9uu3AjHvDCFaZYi9mY/TuaakoSG3 Ofstmekxyhq9bR+ikWKNWwOwVxKujywgxhc7NO71MfGehxqhOzC+IEqT6TEZmtGvccBRclgjY fpbWK0TXE3jG2V5rugOSaxm2vViC3PaGpSroX7Kw+aqkxJ+6MWSZP7XVJCEZndhnECWNdskty jGxHMca1oTMvacghNOQx88lh0QM1HGZue9vtt9MoDUhq8= Am 27.03.24 um 22:52 schrieb Andy Shevchenko: > There is a mix of a few improvements to the driver. > I have done this instead of review, so it can quickly be > folded into the original code (partially or fully). > > Signed-off-by: Andy Shevchenko > --- > drivers/platform/x86/quickstart.c | 16 ++++++++++------ > 1 file changed, 10 insertions(+), 6 deletions(-) > > diff --git a/drivers/platform/x86/quickstart.c b/drivers/platform/x86/qu= ickstart.c > index ba3a7a25dda70..f686942662ccc 100644 > --- a/drivers/platform/x86/quickstart.c > +++ b/drivers/platform/x86/quickstart.c > @@ -1,6 +1,6 @@ > // SPDX-License-Identifier: GPL-2.0-or-later > /* > - * quickstart.c - ACPI Direct App Launch driver > + * ACPI Direct App Launch driver > * > * Copyright (C) 2024 Armin Wolf > * Copyright (C) 2022 Arvid Norlander > @@ -10,15 +10,18 @@ > * > */ > > -#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > - Hi, that is the reason for removing this? > #include > +#include > +#include > #include > #include > #include > -#include > +#include > #include > #include > +#include > +#include > +#include > #include > #include > > @@ -165,7 +168,8 @@ static int quickstart_probe(struct platform_device *= pdev) > data->dev =3D &pdev->dev; > dev_set_drvdata(&pdev->dev, data); > > - /* We have to initialize the device wakeup before evaluating GHID beca= use > + /* > + * We have to initialize the device wakeup before evaluating GHID beca= use > * doing so will notify the device if the button was used to wake the= machine > * from S5. > */ > @@ -202,7 +206,7 @@ static int quickstart_probe(struct platform_device *= pdev) > } > > static const struct acpi_device_id quickstart_device_ids[] =3D { > - { "PNP0C32", 0 }, > + { "PNP0C32" }, > { } > }; > MODULE_DEVICE_TABLE(acpi, quickstart_device_ids);