From nobody Fri Sep 25 21:41:47 2026 Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F3BF3524AF1 for ; Tue, 8 Sep 2026 09:19:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788859155; cv=none; b=T46kQr1K8ViBKYpe2hIzb7f7/4rsbv3FlI45KD+vcvQnwRa5lW3++rju5AoC6NIjDCorsOhucj3dSvPlD/G2ZluXGfZJC/UbAA9+YkE1wf9ETDyHwxdfaISX6sNIijR+bPNV21pFVS8R3m4FldawfLkD5fMR/dDvsekEJvQj18Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788859155; c=relaxed/simple; bh=aRiB+/teBjIDoYnRyGta0AirMhnk2B3V+bGT69BxTT4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rbqXNYdbtA/DddiOj4W08knzHR56jCmDbPhPGiMhxP58keNDELGIcG4X+9rIaIf5XyQZBDqKkqrZNfQ6SaR9EY6LUhSdJu92jy5opOFv4pJu/i06fz6GbfIsQpdbOIi2zUwkFuT6EnWMV7WlDZtxooKMDVu4ouPxXiNvw3YmQ+I= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=thegoodpenguin.co.uk; spf=pass smtp.mailfrom=thegoodpenguin.co.uk; dkim=pass (2048-bit key) header.d=thegoodpenguin-co-uk.20251104.gappssmtp.com header.i=@thegoodpenguin-co-uk.20251104.gappssmtp.com header.b=hpN+HYXT; arc=none smtp.client-ip=209.85.216.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=thegoodpenguin.co.uk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=thegoodpenguin.co.uk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=thegoodpenguin-co-uk.20251104.gappssmtp.com header.i=@thegoodpenguin-co-uk.20251104.gappssmtp.com header.b="hpN+HYXT" Received: by mail-pj1-f48.google.com with SMTP id 98e67ed59e1d1-38e58034d05so3506428a91.2 for ; Tue, 08 Sep 2026 02:19:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thegoodpenguin-co-uk.20251104.gappssmtp.com; s=20251104; t=1788859153; x=1789463953; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=+p+eQJQq3ynMvnkReVl5XGX2RkMKrQ5ziE2R3ggq0Vw=; b=hpN+HYXT5sygnHKi22fCWVMGkdcxPif1YITvIhnydpyIwUCnOfAVvx/JFf7XwnBUWs x6e9prKs5xrXJhfakzFYV8J7FGuOx/GRUHGBAYiVI4pMifplt/scF5XvV4I+jOs2uNxl D5sgxFd536p+PZoZEtz8fyxpQ8RyDzNz+cK9HBolRXrd0x6mh+iPu1tCYlqk5quD/R94 pj78x3r8oM+SVmjixPOr+A4/8yN5W3DlRQ2e9Dq1J7qO2a8B95tq6yIMwftAZq+745LF UjMUo/GQhKC4OdfcsQj/1/J1uZFjyJW98P8aqEd6mnhBE/hhYspc7qvxdP9/uBjTMNCj t2fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788859153; x=1789463953; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=+p+eQJQq3ynMvnkReVl5XGX2RkMKrQ5ziE2R3ggq0Vw=; b=SCyueQf6pMyj3ZvpaZnT5w6fOZdTUHvlD4Vy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xCKZcXELX oWPDA== X-Received: by 2002:a17:90b:1343:b0:398:d93a:b343 with SMTP id 98e67ed59e1d1-39b26123302mr48843690a91.3.1788859153130; Tue, 08 Sep 2026 02:19:13 -0700 (PDT) Received: from [10.42.0.1] ([2a00:23c7:1d1a:9c01:75be:f01c:dde1:cb38]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-14324410092sm32015722c88.14.2026.09.08.02.19.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2026 02:19:12 -0700 (PDT) From: Pawel Zalewski Date: Tue, 08 Sep 2026 10:19:03 +0100 Subject: [PATCH 1/3] HID: hid-google-hammer: use named initializers for acpi_device_id Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260908-acpi-hid-v1-1-08df24c4b139@thegoodpenguin.co.uk> References: <20260908-acpi-hid-v1-0-08df24c4b139@thegoodpenguin.co.uk> In-Reply-To: <20260908-acpi-hid-v1-0-08df24c4b139@thegoodpenguin.co.uk> To: Jiri Kosina , Benjamin Tissoires , Maximilian Luz Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, Pawel Zalewski X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1788859148; l=889; i=pzalewski@thegoodpenguin.co.uk; s=20260430; h=from:subject:message-id; bh=aRiB+/teBjIDoYnRyGta0AirMhnk2B3V+bGT69BxTT4=; b=ud5CAEzaFbggl62JW7umNOg15pODvY1/dk9PuhlTmnx5RRzcWUGmdiHXEJjWArahDBqReD4/v HBKAzGJ268rA6jh4FRctvpEUBO+711N51N6NINJBX2KXCeRXSxLBc3U X-Developer-Key: i=pzalewski@thegoodpenguin.co.uk; a=ed25519; pk=vHq4n9IonORH2GTzLv8r6CWAFHzgfBuNkQPXA8NSly0= Use a designated initializer for the acpi_device_id fields which makes the code more readable and consistent with how lists are initialized in the rest of the kernel code base. Also drop explicitly setting fields to 0 where it is redundant. Signed-off-by: Pawel Zalewski --- drivers/hid/hid-google-hammer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/hid-google-hammer.c b/drivers/hid/hid-google-hamme= r.c index c99c3c0d442e..847b1ddefeec 100644 --- a/drivers/hid/hid-google-hammer.c +++ b/drivers/hid/hid-google-hammer.c @@ -268,7 +268,7 @@ static void cbas_ec_remove(struct platform_device *pdev) =20 #ifdef CONFIG_ACPI static const struct acpi_device_id cbas_ec_acpi_ids[] =3D { - { "GOOG000B", 0 }, + { .id =3D "GOOG000B" }, { } }; MODULE_DEVICE_TABLE(acpi, cbas_ec_acpi_ids); --=20 2.43.0 From nobody Fri Sep 25 21:41:47 2026 Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5DADA524B1F for ; Tue, 8 Sep 2026 09:19:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788859157; cv=none; b=QMeZW7fCC8AjcaWM2iGkSWXp1ewJL7IGOjnhAwHPqsdckZVJ+O3ancsKGbjIC78vvWCrc/n1xalbW5Htospnn5uimbOjESLrsGyaYdRoMHcr0RvKbS31yZXjtG/um+bttarxqbr4o7x1cJtu1KGywIvEYYBQDT9hnxxJdn3e8R0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788859157; c=relaxed/simple; bh=wzHJ5AZLh1S4sbm7NQXwPNEFKn8BKSSciphvCkw+aLw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=D/nenhHdkk+fHWEnNRi+p0+a6YTIo2BBdLFu/z72JmOuMGIVI0GuZ07kYJljQoFaSOlJ5v9zuP5WOV8uPOmB1zvnqqu5Unxu57YJEvD2ZPgZVqoxzOK6L/+IPPRa3Bv7couV5RQyDo9cMFcQtoUw3e6wjaeNhV2Km1IAU8JaOnk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=thegoodpenguin.co.uk; spf=pass smtp.mailfrom=thegoodpenguin.co.uk; dkim=pass (2048-bit key) header.d=thegoodpenguin-co-uk.20251104.gappssmtp.com header.i=@thegoodpenguin-co-uk.20251104.gappssmtp.com header.b=qmOcj4U0; arc=none smtp.client-ip=209.85.216.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=thegoodpenguin.co.uk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=thegoodpenguin.co.uk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=thegoodpenguin-co-uk.20251104.gappssmtp.com header.i=@thegoodpenguin-co-uk.20251104.gappssmtp.com header.b="qmOcj4U0" Received: by mail-pj1-f54.google.com with SMTP id 98e67ed59e1d1-38e58034d05so3506463a91.2 for ; Tue, 08 Sep 2026 02:19:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thegoodpenguin-co-uk.20251104.gappssmtp.com; s=20251104; t=1788859156; x=1789463956; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=xSKG1D/i01HPr9XPX9unVriFqaH3a/5SqIW/cS7CsCY=; b=qmOcj4U0E6t5KqQ54AVBQUIKw1Xol4uBK0s/EXumSP5B9ETmZgbj4x6bLZhSvTqjcF 2xLbplzVLO+HD0jG2Qpgc2wnaKlZEbRiKIZS8b42sddQVfAVIAxuX944S9kDbNBvfE3w yAm9X92+g6bexLWuglytjxE6Sk1Loal7RlpJYAbRIYbsP9f1IxGQZHz6pqPlIhtPZ28t KUlzQ7gjwZF6zqokfSL+Yd5aDOK2dLurK3eFWA81FFd8T3eGrtcsi8TyemCeDsQqTAb4 UChozgxP0jvVypUYzmUMSgFfKT85gXk+dhiC+j1TxzxLFUi0JY4zzvjD0eRbaRHFm1tR ywJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788859156; x=1789463956; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=xSKG1D/i01HPr9XPX9unVriFqaH3a/5SqIW/cS7CsCY=; b=FN5Nv70Otd+DY7tY+X4jNrlLx/0Q3Vq1uaJeIeTRTinx4zNq4/GnV1Wrtj59m1a0MN fj02yl7CC+CLMGxDvOIyuc1dXi2r7lsItEgM6sm0MO6JlUkxNnwTgJA0zLFDha0JR3/y UbWaKYjZAaWOIVOrHPlhxBOnH2ZbiXxaIDLWQ7qEgWNMZo7Y9Tlvkc7d03/8JmPmu0hK rh55aXjoviJmmN5fPgwQ8kIPSbuDvaMI/bMhQWYXoD1GN9d3JyrbIatRYwph8GFJEX36 pbdVq5JVzr5UZ8pPOjpTIAXEdNSpdvG6ofxfNJ/HxISzz9v6VBYvRUQ8BC+RwVWyGscw 9VAQ== X-Forwarded-Encrypted: i=1; AKwUvBzPSTLDlIcyEv5OjEX4G/isDbG/JIOXJ2X0E8H26LMvlgTFNjweZfnu6HqbicYlS57mvu369ivDblrQVFY=@vger.kernel.org X-Gm-Message-State: AFuF++nYBDoDv4P6lZYzVsoUgjC/xPRuP9ro3PWEGCjr7tF5R4y6b45G tsxG8qsyvT4UDfZ54ywrmjsfmDt8k+cyrCQoD5geIjbRm11axqe3lLcHMmHZp/6Ltb8= X-Gm-Gg: AYBFou1wm7RVK2QAuOYVpcxQZpSvfPyHh2gBX636bwFpQKeWKLT1KmFlxqlVyVWAykp 4mmWgwWTwfBBGQ1WxZV7SiH9v+qKuWXHxniBix9IpK8YKA/cUCojqBbIwxbpkR77fkFagUVuQK1 u7JKurxDsNCh7nsdV3qZtexw2NFFH9aOeZjjciV/SLh1vCQ7wUGEI1ws6IYecvGsLbCUjVgI1yd opp0x7vm6Upg3xnTITcBBp4sID3GqFvmLVfTMfMEJVR+dFel+DY6mrStu8OnnNVoowRc1CLwJ2B tARAU4M0EbKs5qvS6SJT+x8LHvtSH5425EV1C2Gvib7/s+kWs7F4R6wF0TT1lEX9S2qEf2xaaIY pQXypJ3JZXQCtv+jJ1tmKUKxkJeIkAznI3eHT17Zm5Gz0ufWD5qw3saxbsJzTcKQMLUShje2QpE dq1mXUM547BUcLtTr1wV//QRoU9FWFg+hN91K2FzrVJFKQZX4x2680RcYzjzrk0qb4RUvqevfhZ PVBMQ== X-Received: by 2002:a17:90b:3804:b0:366:3517:1aa2 with SMTP id 98e67ed59e1d1-39b25f4397emr42321906a91.0.1788859155665; Tue, 08 Sep 2026 02:19:15 -0700 (PDT) Received: from [10.42.0.1] ([2a00:23c7:1d1a:9c01:75be:f01c:dde1:cb38]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-14324410092sm32015722c88.14.2026.09.08.02.19.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2026 02:19:15 -0700 (PDT) From: Pawel Zalewski Date: Tue, 08 Sep 2026 10:19:04 +0100 Subject: [PATCH 2/3] HID: i2c-hid: use named initializers for acpi_device_id Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260908-acpi-hid-v1-2-08df24c4b139@thegoodpenguin.co.uk> References: <20260908-acpi-hid-v1-0-08df24c4b139@thegoodpenguin.co.uk> In-Reply-To: <20260908-acpi-hid-v1-0-08df24c4b139@thegoodpenguin.co.uk> To: Jiri Kosina , Benjamin Tissoires , Maximilian Luz Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, Pawel Zalewski X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1788859148; l=1319; i=pzalewski@thegoodpenguin.co.uk; s=20260430; h=from:subject:message-id; bh=wzHJ5AZLh1S4sbm7NQXwPNEFKn8BKSSciphvCkw+aLw=; b=uf+1mk4iLkcE9iwyWW0QFbX+TS2t6INT8BNRYRowZ2wjB0Qy+vICZc3tGfqptCelVoc1op7Qu +JpstvANQhjBdDUDg4O8bmwkOnBbsfZyd1GPeWVbke2xBQanHvE7EBK X-Developer-Key: i=pzalewski@thegoodpenguin.co.uk; a=ed25519; pk=vHq4n9IonORH2GTzLv8r6CWAFHzgfBuNkQPXA8NSly0= Use a named initializer for the acpi_device_id fields which makes the code more readable and consistent with how lists are initialized in the rest of the kernel code base. Signed-off-by: Pawel Zalewski --- drivers/hid/i2c-hid/i2c-hid-acpi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/hid/i2c-hid/i2c-hid-acpi.c b/drivers/hid/i2c-hid/i2c-h= id-acpi.c index 13f977d6aab6..9371db200fc4 100644 --- a/drivers/hid/i2c-hid/i2c-hid-acpi.c +++ b/drivers/hid/i2c-hid/i2c-hid-acpi.c @@ -39,12 +39,12 @@ static const struct acpi_device_id i2c_hid_acpi_blackli= st[] =3D { * The CHPN0001 ACPI device, which is used to describe the Chipone * ICN8505 controller, has a _CID of PNP0C50 but is not HID compatible. */ - { "CHPN0001" }, + { .id =3D "CHPN0001" }, /* * The IDEA5002 ACPI device causes high interrupt usage and spurious * wakeups from suspend. */ - { "IDEA5002" }, + { .id =3D "IDEA5002" }, { } }; =20 @@ -93,8 +93,8 @@ static int i2c_hid_acpi_probe(struct i2c_client *client) } =20 static const struct acpi_device_id i2c_hid_acpi_match[] =3D { - { "ACPI0C50" }, - { "PNP0C50" }, + { .id =3D "ACPI0C50" }, + { .id =3D "PNP0C50" }, { } }; MODULE_DEVICE_TABLE(acpi, i2c_hid_acpi_match); --=20 2.43.0 From nobody Fri Sep 25 21:41:47 2026 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2B4F1525A91 for ; Tue, 8 Sep 2026 09:19:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788859160; cv=none; b=RalGqmfL2ablZhjxtlKCzUqnEIo7zkZikgdRfrtBwwJfX2DxyV8VfZf99Qysmhxms6tiGra90echqNUiJVmA4xJKSZquWC7zkHGkbNy3vQWhEYptqiLyfADljq442rk0iot52ScLcqTrTxuRkPVbdaW53auVahBxN8IfyMAMFoE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788859160; c=relaxed/simple; bh=xtgeItdy0OzALjOO+/MceqMtezUFrplKml5SLbPUvec=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=WBIakucAF2L5blkHln6nF7pYrPCLpVZJrEaC0q0wRfkD4XLjFEY3zBIeAQOLgcv1LPKuU/iOJh9rjgPNMQrIPNk9mhiAvPz2G2GT5QBbpaQROR0iRJ2UOm5buCF3PZ2teaFQ/kUhqoTDnpuuOVh6adlmprtd22U1DBUkuOzU3V4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=thegoodpenguin.co.uk; spf=pass smtp.mailfrom=thegoodpenguin.co.uk; dkim=pass (2048-bit key) header.d=thegoodpenguin-co-uk.20251104.gappssmtp.com header.i=@thegoodpenguin-co-uk.20251104.gappssmtp.com header.b=LakehRZF; arc=none smtp.client-ip=209.85.214.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=thegoodpenguin.co.uk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=thegoodpenguin.co.uk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=thegoodpenguin-co-uk.20251104.gappssmtp.com header.i=@thegoodpenguin-co-uk.20251104.gappssmtp.com header.b="LakehRZF" Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-2d71ae3455aso69371905ad.1 for ; Tue, 08 Sep 2026 02:19:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thegoodpenguin-co-uk.20251104.gappssmtp.com; s=20251104; t=1788859158; x=1789463958; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=TtIpB1hhLYGZusTjT6rnPHQOVwY+sSeAbi/bl2xwBEA=; b=LakehRZFsFY5Zn0t5WjpOX3Dx2j17EAlrGMVJsjOsnTVMibF6/sRvBfvEPrN64wWtM HqTvoSlW9fxGqyg9Ssv0Ia8zB8X2xCQAYBnVxnHD3R4OK1C6HniLBQRZh3vId/QiWVBK U1BEr05m2i1sqLZPFHID50C6vC0O620gCBdF0KVknTfSCQmWg/Mbgm7EZZrpNTWQW9Ah njybgh3eabDmUg/dSvmOakj/4aF38H1dLXyKUZwYEo2YmjPKBvHAoSVeWYwZoFhyKwSi KGB8+8hAhOhH6FwYiKzR29T5iJEA6rqYOfW1EZLlna1fiwLMjXdz3D4JYBCoePOSI9rM b8PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788859158; x=1789463958; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; b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nDdvBXeuzK7CsnPipr5tnq7R7OIWMAHs CrEXBqU7677sgKu9V5GTi0U1UWXIVQTQBXxtjz1cUJePpVk0J9b0KaRked71rcVf85gNn3eLZJ8 f5ytw== X-Received: by 2002:a17:90b:2e0e:b0:398:9be5:b419 with SMTP id 98e67ed59e1d1-39b2622bfecmr41833249a91.20.1788859158105; Tue, 08 Sep 2026 02:19:18 -0700 (PDT) Received: from [10.42.0.1] ([2a00:23c7:1d1a:9c01:75be:f01c:dde1:cb38]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-14324410092sm32015722c88.14.2026.09.08.02.19.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2026 02:19:17 -0700 (PDT) From: Pawel Zalewski Date: Tue, 08 Sep 2026 10:19:05 +0100 Subject: [PATCH 3/3] HID: surface-hid: use named initializers for acpi_device_id Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260908-acpi-hid-v1-3-08df24c4b139@thegoodpenguin.co.uk> References: <20260908-acpi-hid-v1-0-08df24c4b139@thegoodpenguin.co.uk> In-Reply-To: <20260908-acpi-hid-v1-0-08df24c4b139@thegoodpenguin.co.uk> To: Jiri Kosina , Benjamin Tissoires , Maximilian Luz Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, Pawel Zalewski X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1788859148; l=949; i=pzalewski@thegoodpenguin.co.uk; s=20260430; h=from:subject:message-id; bh=xtgeItdy0OzALjOO+/MceqMtezUFrplKml5SLbPUvec=; b=Bv7PIIbID1GVnQlHmUM/w6I/Dk/7/ZxTyv7MMza9p2ztJgGoB+kz78mu4kY+t8C8rVCMasMtZ uHNKMpfVlH4ACgJZ8jyEvtF5bC+fh9VtG+PEI5AhmcQ4SoYes01zUkm X-Developer-Key: i=pzalewski@thegoodpenguin.co.uk; a=ed25519; pk=vHq4n9IonORH2GTzLv8r6CWAFHzgfBuNkQPXA8NSly0= Use a named initializer for the acpi_device_id fields which makes the code more readable and consistent with how lists are initialized in the rest of the kernel code base. Unify the list terminator to have a single space between the brackets and no trailing comma. Signed-off-by: Pawel Zalewski --- drivers/hid/surface-hid/surface_kbd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hid/surface-hid/surface_kbd.c b/drivers/hid/surface-hi= d/surface_kbd.c index 0be01b5e74258..036829ba47d42 100644 --- a/drivers/hid/surface-hid/surface_kbd.c +++ b/drivers/hid/surface-hid/surface_kbd.c @@ -277,8 +277,8 @@ static void surface_kbd_remove(struct platform_device *= pdev) } =20 static const struct acpi_device_id surface_kbd_match[] =3D { - { "MSHW0096" }, - { }, + { .id =3D "MSHW0096" }, + { } }; MODULE_DEVICE_TABLE(acpi, surface_kbd_match); =20 --=20 2.43.0