From patchwork Thu Oct 12 09:57:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 151893 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp1105191vqb; Thu, 12 Oct 2023 02:59:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE4kULhfwUgiBbOYyk4cEHHx5TScd5Qmg0BkLO+3gdxX7uBzMcsczI/ABeflHMQvdf1Q230 X-Received: by 2002:a05:6a00:3985:b0:68f:c8b3:3077 with SMTP id fi5-20020a056a00398500b0068fc8b33077mr25411205pfb.1.1697104759664; Thu, 12 Oct 2023 02:59:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697104759; cv=none; d=google.com; s=arc-20160816; b=GPE0ILfyTEYIFWfPsO2GZfbpMc7Ll0CDqNea5oYfK4C1GZpRhycIb58b1Ex/iY9R8N Qu9dvl1IpzKmCrQ9KMWA5GAbK5JXPSMs2fOsjhAvcVuG5qehDUqFY0g1cZnm5IiV7JC6 GfyrT+8LlVyTTzbLZDXMO4frT6ku+DYagLJTpF2/ph11QbDnPq/0w5WeGpPJfeHVfSiX PlpiVHF6l7LAaA1a/OR2dOA+l1ha2Hx1XdWG9Bu8FCQFRdoky5MuhC2X3juPcrdainvy mq8hDLyauoWnp4b3gjCueGzHenmLRccYpx0rOsum6sWnq2EqTzvmN3uVOpABIEqIlkWC UQ7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8fOE0s2BG+dmz4IVJKd7oC1YWT04fOmf0YyPieb6z3o=; fh=z5BwPHW+0WCeeOOYOk/t92kvrD91AUIcSucCefH7Wbk=; b=UMHRU5fMrq4RRWFm2YvNkgMG7rR8AEfA7mTkF5+QGfCDvd3xRtnZOty9ILygAfKmJh ldUsAeN+hgHExTbeqWpI0NJmQXx9FDP+Y65ptIWMnsOkNiYpKrFQfSXU/nRj5kxFjU4e yNENHafX703mvLUluF/c5UJz5GDFI+eXYlRafRiIdA/x7dRTkAwk82le7NMaWEwvY9sl ndwjFaNcDOR2K5z9cmsi/aqxpMjbsgocvVA4K6liXv3l/rBhlziYdmO0zOiaSb/JGHmb d3kfvPSSjQdpbG4S/Nup/PUqHjcL9JOrS8tM0+euZizhFFUeFFcVGhNpx7jeOAm5NMA6 hsYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=SKGyDy9o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id d2-20020a63d702000000b00578d0d070f7si915441pgg.659.2023.10.12.02.59.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 02:59:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=SKGyDy9o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 2C9FE8256C99; Thu, 12 Oct 2023 02:59:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235636AbjJLJ7D (ORCPT + 19 others); Thu, 12 Oct 2023 05:59:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235680AbjJLJ6L (ORCPT ); Thu, 12 Oct 2023 05:58:11 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F066FC for ; Thu, 12 Oct 2023 02:57:59 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (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 madras.collabora.co.uk (Postfix) with ESMTPSA id 984976607362; Thu, 12 Oct 2023 10:57:57 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1697104678; bh=yTuzr7kwQWHUl8HtZXARUiw4vwCiedeVUiWy+PyIDto=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SKGyDy9ocMehP5Q106HwzwZAExymO3OnWVdnh8WmarSyzztnnoin1zD/e8IBFqTy5 8TNsvNWL6ADTgCxAd6Kcg9uk0urAqKIQWctJb5iTm8PI/eYlShc3Ga22CMU+g6J+5p aS+8kXeHZg95Bcf5mYMgnUDeYNWIwVm87hm3y3XqQ04sKWvdkSDCEI+2WhPbeGaqet GvGJE2K3oB1jiwBWddeCb3lhscvtcHCp3orcnnEKPKLn0LsS2nrADLeToB0W7F1eGJ dOY8IF2vS4Q7OpKgTGA19vV3coVFVE3tV01AJau9CZ4vRCUb60j2rpEiMfxu+u6m5V rAfGReDSOxKFg== From: AngeloGioacchino Del Regno To: chunkuang.hu@kernel.org Cc: 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, wenst@chromium.org, kernel@collabora.com, ehristev@collabora.com, nfraprado@collabora.com, CK Hu Subject: [PATCH v11 16/16] drm/mediatek: aal: Compress of_device_id entries and add sentinel Date: Thu, 12 Oct 2023 11:57:36 +0200 Message-ID: <20231012095736.100784-17-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231012095736.100784-1-angelogioacchino.delregno@collabora.com> References: <20231012095736.100784-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 12 Oct 2023 02:59:15 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779543320194412185 X-GMAIL-MSGID: 1779543320194412185 Compress the entry for mediatek,mt8173-disp-aal, as it fits in one line, and fix the style; while at it, also add the usual sentinel comment to the last entry. This commit brings no functional changes. Reviewed-by: CK Hu Signed-off-by: AngeloGioacchino Del Regno --- drivers/gpu/drm/mediatek/mtk_disp_aal.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_disp_aal.c b/drivers/gpu/drm/mediatek/mtk_disp_aal.c index 7b3e1c275056..677e7d378e7a 100644 --- a/drivers/gpu/drm/mediatek/mtk_disp_aal.c +++ b/drivers/gpu/drm/mediatek/mtk_disp_aal.c @@ -209,10 +209,9 @@ static const struct mtk_disp_aal_data mt8173_aal_driver_data = { }; static const struct of_device_id mtk_disp_aal_driver_dt_match[] = { - { .compatible = "mediatek,mt8173-disp-aal", - .data = &mt8173_aal_driver_data}, - { .compatible = "mediatek,mt8183-disp-aal"}, - {}, + { .compatible = "mediatek,mt8173-disp-aal", .data = &mt8173_aal_driver_data }, + { .compatible = "mediatek,mt8183-disp-aal" }, + { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, mtk_disp_aal_driver_dt_match);