From nobody Mon Sep 28 21:55:13 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 2EA293C73C9; Mon, 17 Aug 2026 08:38:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786955881; cv=none; b=qpWVfggLbR7k0qLKMzdE3prnI6L4I95M0IAS4NTrpi3y/6Q4meyMsusa7PaO97zyMVnABkp3oS4SMrxxIv2XiQWjyxaVLPq8bnKP5Q3JkSgL0yGP44mlViDfcRLzFrB3sg/llkFQa70mQON4yp5b/Ub77cbwni9WARkKglw2X+k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786955881; c=relaxed/simple; bh=b6qLooLt9+Ojw58zOeHL3FfZsQggwiFRiEpqMn/K/aw=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=OlD/wJSG/XbMjVAOlxCtckqTkimtiw+2SbJRdp+w6wO1knt04LeuF1zu+pdKPyPJP0iZMOM7L3SsUmNdYmYbCCvZYKq7nN1048fekiabkendsmoTuJ8+bywzxG6buvFhTbX+krOthvxC1T2cetSUgJxs6KzeE7GVdQAjbAuK80g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=HhEOrYuj; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=WqAgLTVe; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="HhEOrYuj"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="WqAgLTVe" Date: Mon, 17 Aug 2026 08:37:57 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1786955878; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ISFY+nwWFiCCtY12ehD15xOFLc3NNYw45nJImUanpw0=; b=HhEOrYuj2dQaas3nOpXYCf0+X02KvCuInDl+q9h959hi7JypoNT2AGkHowixFmPwNkKN0k M8dKlP7RR+OG3OBP3dllpPaO09UEwK1/SRNH1OOYJt34op0jsaTNNh7y0WKS0erqKT7P6Y tW4CD2/LB7+wsbt6ES0BGllCVm6lmUeb/3uFFWk402Xy09LJMOf1yBoUobbKu2wqnNChix F1TlmVQYmdMiJOOotPSJWoAlZDU+Uy4GTzaASQEKMZhoxZrYCHc08uKnYf/Y+Gl0TSuu3V vxSTnj7zSF78CxosYnrXH6+InY+IssGqGLb3i79Za9kQrbarvtb7auHw7rcMqQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1786955878; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ISFY+nwWFiCCtY12ehD15xOFLc3NNYw45nJImUanpw0=; b=WqAgLTVeUGQepp/8z9tc6Ol89ZX1VXN1XacdwufUJU1DfMVZky70DXEbor+4hlWmnokcok v95SWcsAugHhYIAQ== From: tip-bot2 for Uwe =?utf-8?q?Kleine-K=C3=B6nig_=28The_Capable_Hub=29?= Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/clocksource] clocksource/drivers/sh_cmt: Use named initializers for platform_device_id arrays Cc: u.kleine-koenig@baylibre.com, Daniel Lezcano , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: =?utf-8?q?=3C6a6951b86f0e9a2ab4a378ab63edf7a487f1d693=2E1781687?= =?utf-8?q?723=2Egit=2Eu=2Ekleine-koenig=40baylibre=2Ecom=3E?= References: =?utf-8?q?=3C6a6951b86f0e9a2ab4a378ab63edf7a487f1d693=2E17816877?= =?utf-8?q?23=2Egit=2Eu=2Ekleine-koenig=40baylibre=2Ecom=3E?= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <178695587711.1542179.13641694160929940758.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the timers/clocksource branch of = tip: Commit-ID: 38c6b710926567aa696332a300e85b6cab56eac1 Gitweb: https://git.kernel.org/tip/38c6b710926567aa696332a300e85b6ca= b56eac1 Author: Uwe Kleine-K=C3=B6nig (The Capable Hub) AuthorDate: Wed, 17 Jun 2026 11:24:11 +02:00 Committer: Daniel Lezcano CommitterDate: Thu, 13 Aug 2026 18:12:29 +02:00 clocksource/drivers/sh_cmt: Use named initializers for platform_device_id a= rrays Named initializers are better readable and more robust to changes of the struct definition. This robustness is relevant for a planned change to struct platform_device_id replacing .driver_data by an anonymous union. Signed-off-by: Uwe Kleine-K=C3=B6nig (The Capable Hub) Signed-off-by: Daniel Lezcano Link: https://patch.msgid.link/6a6951b86f0e9a2ab4a378ab63edf7a487f1d693.178= 1687723.git.u.kleine-koenig@baylibre.com --- drivers/clocksource/sh_cmt.c | 4 ++-- drivers/clocksource/sh_tmu.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/clocksource/sh_cmt.c b/drivers/clocksource/sh_cmt.c index cf057f5..7977507 100644 --- a/drivers/clocksource/sh_cmt.c +++ b/drivers/clocksource/sh_cmt.c @@ -974,8 +974,8 @@ static int sh_cmt_map_memory(struct sh_cmt_device *cmt) } =20 static const struct platform_device_id sh_cmt_id_table[] =3D { - { "sh-cmt-16", (kernel_ulong_t)&sh_cmt_info[SH_CMT_16BIT] }, - { "sh-cmt-32", (kernel_ulong_t)&sh_cmt_info[SH_CMT_32BIT] }, + { .name =3D "sh-cmt-16", .driver_data =3D (kernel_ulong_t)&sh_cmt_info[SH= _CMT_16BIT] }, + { .name =3D "sh-cmt-32", .driver_data =3D (kernel_ulong_t)&sh_cmt_info[SH= _CMT_32BIT] }, { } }; MODULE_DEVICE_TABLE(platform, sh_cmt_id_table); diff --git a/drivers/clocksource/sh_tmu.c b/drivers/clocksource/sh_tmu.c index 8d6a9e2..8b3cfa6 100644 --- a/drivers/clocksource/sh_tmu.c +++ b/drivers/clocksource/sh_tmu.c @@ -614,8 +614,8 @@ static int sh_tmu_probe(struct platform_device *pdev) } =20 static const struct platform_device_id sh_tmu_id_table[] =3D { - { "sh-tmu", SH_TMU }, - { "sh-tmu-sh3", SH_TMU_SH3 }, + { .name =3D "sh-tmu", .driver_data =3D SH_TMU }, + { .name =3D "sh-tmu-sh3", .driver_data =3D SH_TMU_SH3 }, { } }; MODULE_DEVICE_TABLE(platform, sh_tmu_id_table);