From nobody Tue Sep 29 13:20:50 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 BBDDC37DAB3 for ; Fri, 7 Aug 2026 12:38:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786106332; cv=none; b=dSed/rgLVZ1sb9rTWuQlwo0k9QQBmukpFZUHmlF7g1lVdnnKVWXHmKX/FYG6b/MIXXA6JP5CRsjDP9HYFbhoMyW/MY0PELzqy6ri/gQl7+NuuHrBw3KFB1yOf/Kfp/aQ6pUpKAiSQmuLCdVQATVqfI0qLyrY3ognPTP9v6YX9Dk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786106332; c=relaxed/simple; bh=kvoIoK3rjB+emruPFQGOfPRhXKA+VK/0KGS2KP1q7vc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=lC+5pqd0UuhmdSZ84lsqPU8wYSv0QjR3EmbOVEwFSr/BBgLsge95ghpRmMpTWjRs4BUtRRBykARl2cX2gxGdnogod2TAYJnAizuGnZ1bqYFuFSI+wRNBwTUANmWoOcBeAavoBtXkyaaJ7hSXjJhyaXPH26k3oLHmkq2DRvbx7R0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Cax1+vJG; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Cax1+vJG" Received: by smtp.kernel.org (Postfix) with ESMTPS id 2C899C19425; Fri, 7 Aug 2026 12:38:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1786106329; bh=kvoIoK3rjB+emruPFQGOfPRhXKA+VK/0KGS2KP1q7vc=; h=From:Date:Subject:To:Cc:Reply-To:From; b=Cax1+vJGqjtMXBcQ69kPgw04SzS4pHlvsRQ/nw9FRwg+3yquUJVOLz4um4g6mbize 3Zsmd6KjPyj2po4CrHIw3SBlW3z15K2UIzEoh3DrUE7DRebDfvmwr0CGAGBPHh0uOj n8OyNCRjZtEbxQwurESPJAcR9gxP2Tuyyylx92jZBzIPhI5rEXSgvtnPl0h0Ogfnui Hp9XGVnjoPMHUNUKep1P8WOQcXN/Q4+CsaU4Eo4906KhYkj+C5OBKtROYtQRTli5bh jXJQ6Yimcvdv5/P4OVpV+cjWv/16Se86uTcETKEvTLGBdg2WF1IHOsnOApPpU2i7zf 6bFgFTLs0gO0g== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 04691C2A09B; Fri, 7 Aug 2026 12:38:49 +0000 (UTC) From: Pawel Zalewski via B4 Relay Date: Fri, 07 Aug 2026 13:38:33 +0100 Subject: [PATCH] platform/x86: olpc-xo15-sci: 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: <20260807-acpi-platform-v1-1-1507662916ed@thegoodpenguin.co.uk> X-B4-Tracking: v=1; b=H4sIAAAAAAAC/yXMSw5AMBRA0a3IG2tSlfptRQyqXnni07SIROxdM TyDey/w6Ag9VNEFDg/ytC4BSRyBHtTSI6MuGAQXGS94zpS2xOykNrO6mWXStFIIbdJSQmisQ0P n96ub335vR9TbO4H7fgAiB9LncQAAAA== X-Change-ID: 20260807-acpi-platform-65fb522cf395 To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" Cc: linux-kernel@vger.kernel.org, "Pawel Zalewski (The Capable Hub)" X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1786106327; l=1292; i=pzalewski@thegoodpenguin.co.uk; s=20260803; h=from:subject:message-id; bh=GiuZy2AkLGOTalI0u3slCSx569cbFLpbYf6BitVGB7E=; b=KchVjnBAnzZUZ9AoTmDCZ+/jQPs1tUz2Wqsxgb8PtuVyLE5cTjCiPTIR859qmhQLk9fzqnmpP +jqmV3CyKx7C4fs2h03GNhLDwMAYkc8N1i+sAsEouVt9du5ccueJYXA X-Developer-Key: i=pzalewski@thegoodpenguin.co.uk; a=ed25519; pk=W3zk1cb/wRnj6pNGbl3/2Zf3GmPA6IBpNHpDPyJ05k8= X-Endpoint-Received: by B4 Relay for pzalewski@thegoodpenguin.co.uk/20260803 with auth_id=913 X-Original-From: "Pawel Zalewski (The Capable Hub)" Reply-To: pzalewski@thegoodpenguin.co.uk From: "Pawel Zalewski (The Capable Hub)" 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. Also drop explicitly setting fields to 0 where it is redundant. While we are at it - unify the list terminator to have a single space between the brackets and no trailing comma. Signed-off-by: Pawel Zalewski (The Capable Hub) --- arch/x86/platform/olpc/olpc-xo15-sci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/platform/olpc/olpc-xo15-sci.c b/arch/x86/platform/olp= c/olpc-xo15-sci.c index e486109e88c8..4b2dc77410a6 100644 --- a/arch/x86/platform/olpc/olpc-xo15-sci.c +++ b/arch/x86/platform/olpc/olpc-xo15-sci.c @@ -215,8 +215,8 @@ static int xo15_sci_resume(struct device *dev) static SIMPLE_DEV_PM_OPS(xo15_sci_pm, NULL, xo15_sci_resume); =20 static const struct acpi_device_id xo15_sci_device_ids[] =3D { - {"XO15EC", 0}, - {"", 0}, + { .id =3D "XO15EC" }, + { } }; =20 static struct platform_driver xo15_sci_drv =3D { --- base-commit: f9a2394a23482bfd330911e9c8295b71724feacd change-id: 20260807-acpi-platform-65fb522cf395 Best regards, -- =20 Pawel Zalewski (The Capable Hub)