From nobody Wed Nov 13 01:59:22 2024 Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 6D53779DA6 for ; Wed, 31 Jan 2024 11:34:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706700890; cv=none; b=T7rbZ6l1DHPjycgKcJaAYgaTj0A4e/+SG4S83s6HTykEWtYWXT8a3w1KuX6cpD8cNnE94jbbQ2DwXGKwqKKTNCimi8GfgvqKd16D3WXUJN17cW3nBOkp+wC+VWyGrUQvYLJwvEsArOezdC8zKdV/5WxOQcZPKmXvMsn0CIaM5CU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706700890; c=relaxed/simple; bh=Hg07SeM/KNvTXW3q5I4wEr/MnhDPUSRitzdghnQDomk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sqfDkSM9gVdOqvfDBgsl87ZCnmTbUFXOjWT0BavAvhZqsQfN8zcGw2T7Fyw9VVzAgTuIHLIFbEVO8qIlj0TCNkZe14igtl1hCDcaMhVBOEmxZxAt5VmzPCleHhNNLQBARtkJkQOCkCioMzPSvaAw49ZynRZLZ2W08I3equYwF+c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=BJNZYRqD; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="BJNZYRqD" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1706700887; bh=Hg07SeM/KNvTXW3q5I4wEr/MnhDPUSRitzdghnQDomk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BJNZYRqDrNfsvWK6R+0inYUi0KUg9dXOPzwWZb3ph7d+tA7t2m0w2xXq068ZtW1PJ CdnKB9u7cu5w4lkJEYgDgKA2coWYkjVS5wccbcQ3JiuitoHDJ/XsHoJnXuIK+gXoR9 tRHB1WIfMqwz0WgTGHsbQDlAxwwqzEm4mTnD/HjYXrhB/Oz6nW7FlxdSddGbYZZqmO 3YIvd1wkUSP5JWZIFjWTc0FESVqPNURcnjTEVJVEbNH+S2+gXfn7c8fTtt9Dh5q2C2 Uy3HjdAu70DF20x2cJoaaHLtMB7v+qGgxwnNhQ9i/TW0LKzGl3mNhMKxHL+NFi7bQb pTkNV6l1zW+zw== Received: from IcarusMOD.eternityproject.eu (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 13CBC378208C; Wed, 31 Jan 2024 11:34:47 +0000 (UTC) From: AngeloGioacchino Del Regno To: chunkuang.hu@kernel.org Cc: fshao@chromium.org, p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@collabora.com Subject: [PATCH v3 7/7] drm/mediatek: dsi: Compress of_device_id entries and add sentinel Date: Wed, 31 Jan 2024 12:34:34 +0100 Message-ID: <20240131113434.241929-8-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240131113434.241929-1-angelogioacchino.delregno@collabora.com> References: <20240131113434.241929-1-angelogioacchino.delregno@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" All entries fit in 82 columns, which is acceptable: compress all of the mtk_dsi_of_match[] entries to a single line for each. While at it, also add the usual sentinel comment to the last entry. Signed-off-by: AngeloGioacchino Del Regno --- drivers/gpu/drm/mediatek/mtk_dsi.c | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/gpu/drm/mediatek/= mtk_dsi.c index 5a0f078987d3..2c482742183e 100644 --- a/drivers/gpu/drm/mediatek/mtk_dsi.c +++ b/drivers/gpu/drm/mediatek/mtk_dsi.c @@ -1204,17 +1204,12 @@ static const struct mtk_dsi_driver_data mt8188_dsi_= driver_data =3D { }; =20 static const struct of_device_id mtk_dsi_of_match[] =3D { - { .compatible =3D "mediatek,mt2701-dsi", - .data =3D &mt2701_dsi_driver_data }, - { .compatible =3D "mediatek,mt8173-dsi", - .data =3D &mt8173_dsi_driver_data }, - { .compatible =3D "mediatek,mt8183-dsi", - .data =3D &mt8183_dsi_driver_data }, - { .compatible =3D "mediatek,mt8186-dsi", - .data =3D &mt8186_dsi_driver_data }, - { .compatible =3D "mediatek,mt8188-dsi", - .data =3D &mt8188_dsi_driver_data }, - { }, + { .compatible =3D "mediatek,mt2701-dsi", .data =3D &mt2701_dsi_driver_dat= a }, + { .compatible =3D "mediatek,mt8173-dsi", .data =3D &mt8173_dsi_driver_dat= a }, + { .compatible =3D "mediatek,mt8183-dsi", .data =3D &mt8183_dsi_driver_dat= a }, + { .compatible =3D "mediatek,mt8186-dsi", .data =3D &mt8186_dsi_driver_dat= a }, + { .compatible =3D "mediatek,mt8188-dsi", .data =3D &mt8188_dsi_driver_dat= a }, + { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, mtk_dsi_of_match); =20 --=20 2.43.0