Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1267857lqt; Tue, 19 Mar 2024 19:49:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV6SdRjbRfzGbDoWblQtxLsveVRjDLRuzbjX51P16EWWoIdHgwGl0rCLPo8IGKDPTou4PbIg9jJKPecr0tE3LjReHi0BAjHAmqxW4146w== X-Google-Smtp-Source: AGHT+IEmxJ/DTXXSmnjjwA1eA4BP+6HJgurkcPSERPH/N7AOLdkBnknOpcjiuAVdnFXTWirEK7Nr X-Received: by 2002:a05:6808:128f:b0:3c1:e79e:5b2a with SMTP id a15-20020a056808128f00b003c1e79e5b2amr5211312oiw.29.1710902951004; Tue, 19 Mar 2024 19:49:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710902950; cv=pass; d=google.com; s=arc-20160816; b=TqWXrlOPRBvYn1C249uHIHD2KWLdCGaLzpvlZpswz9X8BnDb8mK8WblFrhyJt1mTMV yytqen5omiG3CnyZ1Gr3nKTPGzBXsY+8nlna8PmvWOtInj+0UM/nFR/j1WcTBkKZDd14 VILMAGszLyMCcQf7YiHswJuDwRrZYQmstZ88Qg+X/WeuDQ1sa9W5NFiMwEyDJpaOStlp 8WNtSrBz0IeknKrdOHmC1LtVIpZShyUSh55vinJVBiZbXi3S8k7v3xcuQFDZ9F0WBIr5 AiouzM97dX1Toi9O70+4zy+DaCCUaylk48sgXDKoLgLdxx5AR4t/VbqZKw/nsIYbTnE8 cI2w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=IxfoSJRgtLM7Y9Q8+5O2pEW6twqTFjA7H0y0agURdlM=; fh=mgixLepzNGkyB3AoEmVNXq5zUZJ17gVX1HIqk5a+Lr0=; b=usrFzFWqwNp6u3jud10AFznKxRbdR4Xvne/DlLxUn/VK1txSbPiJteoEc7NR0kfV5C MCfqLl1843KfroDdllvfWnWwQlRi/CK+jC3uEMVmuF4kxDo/skdNE2LaPTD3SxkWodii skdzAPFzHmbWY1AYiwwIq00ZoeH9A+QUXxU3ehasTST/03IcDWQeUak4xvb7buAHq+zx TrDeK/YvueeAbCcDPeIadPtbT1N4Q3CbP8mLv4PRQ7TlHLWhdHWVemk1AqvduVr2BBLL +u0QgCTQNnNLr4kD8csbZjurM0cufYM7Dp5B7wUAOhWvXc4iA9vshNrcAPB31P10k38c KwMg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=ZZsLEGhM; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); spf=pass (google.com: domain of linux-kernel+bounces-108376-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108376-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id p18-20020a635b12000000b005dc3d92a492si11412130pgb.39.2024.03.19.19.49.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 19:49:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108376-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=ZZsLEGhM; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); spf=pass (google.com: domain of linux-kernel+bounces-108376-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108376-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id B0CB0B23D8D for ; Wed, 20 Mar 2024 02:45:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C7F083B791; Wed, 20 Mar 2024 02:42:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="ZZsLEGhM" Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) (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 90FC210795; Wed, 20 Mar 2024 02:42:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.61.82.184 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710902555; cv=none; b=ENGKyhKApdbjO4PWs95PjoG22Liok1AUN6HLNlaruaILAt6BwsvPAMu4Utf61A16ZiGbDwnrUBQhSItBZpiEDCq9qMIExa3FryZn5PRR8A58dfY+r0q/zLlGlRf6wS5oO57xY4i257CY17ABk36DmfLuPslhlWSWfgAu+2rch/E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710902555; c=relaxed/simple; bh=w1mhFTw7N92BZzeiQwqCKxmmY5tlfQmZboFBZTT6uwU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=rFrNbXWEaUB43OhWqe6DoVVQxE0EVq/2edmN9FXh9PT/HnhsB+vVCvGrvkoNMzAoNscVUZJTpmpskLfRjzm8rulI2GQXjnjKWA6rliq6Ce/GjQCBoqMsWTBS+Cur3vCD45ylOR/bz41l2PEIjSzDNT27ffJ8r0HCOqnrTl9GUpc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com; spf=pass smtp.mailfrom=mediatek.com; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b=ZZsLEGhM; arc=none smtp.client-ip=210.61.82.184 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mediatek.com X-UUID: 7c94cbace66311ee935d6952f98a51a9-20240320 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=IxfoSJRgtLM7Y9Q8+5O2pEW6twqTFjA7H0y0agURdlM=; b=ZZsLEGhMgVVs+MKp1X9Zy9fKerm3q0s1OcS+LkbFE+72fi8btXinC6Vc4nxkUM34FASYWm50wXN50jLMh+vk1IhnW7omLQVAMf/MqygbHwcvmq4931kNjdzYHSr89hSY2sLi709Dt5SD/dZH4q0ukdnjCRG7vrRwAMFMYmL8TO8=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.37,REQID:8c793cd1-95ec-4ce9-936a-e8bce799f092,IP:0,U RL:0,TC:0,Content:-25,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTIO N:release,TS:-25 X-CID-META: VersionHash:6f543d0,CLOUDID:5b7f9a90-e2c0-40b0-a8fe-7c7e47299109,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:11|1,File:nil,RT:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES :1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR,TF_CID_SPAM_ULN X-UUID: 7c94cbace66311ee935d6952f98a51a9-20240320 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 67162710; Wed, 20 Mar 2024 10:42:26 +0800 Received: from mtkmbs13n2.mediatek.inc (172.21.101.108) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Wed, 20 Mar 2024 10:42:25 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Wed, 20 Mar 2024 10:42:24 +0800 From: Shawn Sung To: Chun-Kuang Hu , AngeloGioacchino Del Regno CC: Philipp Zabel , David Airlie , Daniel Vetter , Matthias Brugger , Sumit Semwal , =?UTF-8?q?Christian=20K=C3=B6nig?= , , , , , , , Hsiao Chien Sung Subject: [PATCH v3 05/14] drm/mediatek: Rename "mtk_drm_hdmi" to "mtk_hdmi" Date: Wed, 20 Mar 2024 10:42:13 +0800 Message-ID: <20240320024222.14234-6-shawn.sung@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20240320024222.14234-1-shawn.sung@mediatek.com> References: <20240320024222.14234-1-shawn.sung@mediatek.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-MTK: N From: Hsiao Chien Sung Rename all "mtk_drm_hdmi" to "mtk_hdmi": - To align the naming rule - To reduce the code size Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: CK Hu Signed-off-by: Hsiao Chien Sung --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c b/drivers/gpu/drm/mediatek/mtk_hdmi.c index 86133bf16326b..d2876da1b43a7 100644 --- a/drivers/gpu/drm/mediatek/mtk_hdmi.c +++ b/drivers/gpu/drm/mediatek/mtk_hdmi.c @@ -1687,7 +1687,7 @@ static int mtk_hdmi_register_audio_driver(struct device *dev) return 0; } -static int mtk_drm_hdmi_probe(struct platform_device *pdev) +static int mtk_hdmi_probe(struct platform_device *pdev) { struct mtk_hdmi *hdmi; struct device *dev = &pdev->dev; @@ -1746,7 +1746,7 @@ static int mtk_drm_hdmi_probe(struct platform_device *pdev) return ret; } -static void mtk_drm_hdmi_remove(struct platform_device *pdev) +static void mtk_hdmi_remove(struct platform_device *pdev) { struct mtk_hdmi *hdmi = platform_get_drvdata(pdev); @@ -1790,7 +1790,7 @@ static const struct mtk_hdmi_conf mtk_hdmi_conf_mt8167 = { .cea_modes_only = true, }; -static const struct of_device_id mtk_drm_hdmi_of_ids[] = { +static const struct of_device_id mtk_hdmi_of_ids[] = { { .compatible = "mediatek,mt2701-hdmi", .data = &mtk_hdmi_conf_mt2701, }, @@ -1801,14 +1801,14 @@ static const struct of_device_id mtk_drm_hdmi_of_ids[] = { }, {} }; -MODULE_DEVICE_TABLE(of, mtk_drm_hdmi_of_ids); +MODULE_DEVICE_TABLE(of, mtk_hdmi_of_ids); static struct platform_driver mtk_hdmi_driver = { - .probe = mtk_drm_hdmi_probe, - .remove_new = mtk_drm_hdmi_remove, + .probe = mtk_hdmi_probe, + .remove_new = mtk_hdmi_remove, .driver = { .name = "mediatek-drm-hdmi", - .of_match_table = mtk_drm_hdmi_of_ids, + .of_match_table = mtk_hdmi_of_ids, .pm = &mtk_hdmi_pm_ops, }, }; -- 2.18.0