From patchwork Sat Mar 30 20:43:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13611721 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EFFCACD1288 for ; Sat, 30 Mar 2024 20:43:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=qQ6iRfApTBoRDrY2t1Fr9Ku/JGHxYaIezlkqm2YUAqc=; b=AImN6vgp6hdVKc52m7VJQ67ZCu +5UuetJEZyhMf38lJb2Dban4pIqsXPepi9pASdc1sVbhY2F8tLTkfjvykMYyPYl9XfBTq3te+Ll06 n3yJ6rehltOymjqirmZaJpkBsis04INTzwp+nvxzTYFpo/9AbxQLrhOI8d9AlT/qfpSJgn97Z1Wjx ZyZVfmC/+IwJ+4dZYmFk1SM36XTH+IWYv66uS7JPvqC6zpoFPj1yj0doOhyiJ95IxrY+LbZLbs88j GQDzeEIIfEm3zYoeBQzEjnrF8W7aMPw6S5FAe0Q4mwR+RFb6E8aM+2Pm6TGIvWV9yZbhXPzQtiUTh ZEUtZRvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfYM-00000004C0b-2dFq; Sat, 30 Mar 2024 20:43:50 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfY9-00000004Br1-2hpP for linux-mediatek@bombadil.infradead.org; Sat, 30 Mar 2024 20:43:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=qQ6iRfApTBoRDrY2t1Fr9Ku/JGHxYaIezlkqm2YUAqc=; b=g+A0O8nq2SEqZoPWVQEM6+jWj6 XomI307tE3FXNf549MtZ9KRYMxbD8hTMdgcMtoeLxOp20vIsq7K8c/UCND+1W2OueVvDp7TkfUt8a 7Zpp6NgFHpoxzACQadtxKrNgExvc2I3Dt0BR2z1xz8QW3ybP/oSl1OcTsYt77KgVOpB/J9dwaq9ye WJuujWRf6QGNeDUtqd3wvzieEUilmI8bNBVuFzX/emDkMSdlPFtyphP2njDrErooEbASfY880l2JL OViMpZnnphOupBKx0apTMoPFBYUn7qKgv0HvclAjlfgZz1P9jxrbvZ5bt0OZazdg8BSs2/ZzaC8K6 0LTcY1rQ==; Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfY5-00000002EGS-38eG for linux-mediatek@lists.infradead.org; Sat, 30 Mar 2024 20:43:36 +0000 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-33ecb04e018so2223623f8f.1 for ; Sat, 30 Mar 2024 13:43:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711831409; x=1712436209; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=qQ6iRfApTBoRDrY2t1Fr9Ku/JGHxYaIezlkqm2YUAqc=; b=o+qEWAE4MJUdSsS4yV58BLfRtLV4yt+jaCY59H7YU/quaCyFnsEyp2aG0HWqYYNm0m /D9E4/2StdMfHWAuNjMLZolFwZXFtk2LUfHn3YUWr3DUjS+zgg5Ka4b/ldO2/+v1DJ5/ ohyXN3sbaNPRafHPPTyOoRnjoy+aOOyQy8N2KRiEBq/o6ozUOM1fK0uEINQ7NB2/FRQp F4SF391bbcgOgHEnuFw/p9tZhLUGWx6VIsjzi2WplsE548xo83DgRdVs7IFU/xuGhIYp nlgm4H+oEwrKnVzACCNADnAVahm/1yKRWrC5+xz0Uyk6pRes0nOuO2XRC0w7oRoQvr/7 Zi2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711831409; x=1712436209; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qQ6iRfApTBoRDrY2t1Fr9Ku/JGHxYaIezlkqm2YUAqc=; b=LiONGSgZOHHtV95f123GW3SRiWHGyIc1I+YWZvKGL5BWsTrmevMKxG9GMtR0Ex7zoD dAY4FxmD6FCwaNhFlYRW7ARgOIpNBiAWr9C1dnnaH9jGP85/ECvM0kF97Ta2Dg9DwT1g v56+pQZJjNj3dUq+KsHuolTT9ElmCCBTbpcrN5iTcrBspfNW4erhUQeJDBWPyIZAHX8T CdLqJxb9KkbH4uYx06JjSc+sYdBmdzvazmx+8Qq4WO/gqp42T0sWG9551vwySXUApJcf NY4PDFyXLEdCEr+KAeeUq6XnIQmCml9QmsZQatVu5avzhlKYQ42CIXLIE5Q4WM+yLvkG ihgw== X-Forwarded-Encrypted: i=1; AJvYcCVjMw4FaEj6pxTPbpCxsxILl830WyFFmNzzj4vKVabuIme1i5UvHBGj2qqRtMMT0QCrGB/aOg75Yfik+EJYfNMCjg0Nz8vhpcvc0r/NmFv6MEcc X-Gm-Message-State: AOJu0YzjpTaQ8iqrNVxIKZCawbYX2O4SYtO3kIMZo26t5Cc0zCxESD5M Z8Rn25Nhf2wHhynazzUHtF1JkU9oRPzNEwzi6bYrdlbr0cXg1ijjg9/mM+gJCHw= X-Google-Smtp-Source: AGHT+IFof+wGW9GxDz08XDMp6C+JQTVetnRPBObjFVAE613n9FHrpR+tNujyuR5lpdLBVcyRgTGtXw== X-Received: by 2002:a05:6000:250:b0:33e:67c7:e2c0 with SMTP id m16-20020a056000025000b0033e67c7e2c0mr3096634wrz.38.1711831409452; Sat, 30 Mar 2024 13:43:29 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id o12-20020a5d4a8c000000b0033e7b05edf3sm7231299wrq.44.2024.03.30.13.43.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 13:43:29 -0700 (PDT) From: Krzysztof Kozlowski Date: Sat, 30 Mar 2024 21:43:12 +0100 Subject: [PATCH 01/11] drm/mediatek: aal: drop driver owner initialization MIME-Version: 1.0 Message-Id: <20240330-b4-module-owner-drm-mediatek-v1-1-fd5c4b8d633e@linaro.org> References: <20240330-b4-module-owner-drm-mediatek-v1-0-fd5c4b8d633e@linaro.org> In-Reply-To: <20240330-b4-module-owner-drm-mediatek-v1-0-fd5c4b8d633e@linaro.org> To: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Matthias Brugger , AngeloGioacchino Del Regno Cc: dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=839; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=w3IeKAjnHBm8kl2xZSK2QFuYLup7/F/VoSrvI0alzKY=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmCHllE0eKbHKME3Pw1H4CbKUpy9mgJwywTALwm 8LLCuYguqyJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgh5ZQAKCRDBN2bmhouD 1002D/9XrWcY2yuyJCyP/EFAaoXJOdXI2ZjZNPj1enhHgt215/5Hq4umqeqJfzLIrjTzKZqMNeT 274U1WzmqF3vl7oc8fOG6lArneQdJffyeJTU6IBFx3hUvfStz5a2hERTop6d4/EZ0A27CEsNO/v vTQsssxxwN1V7TmiiFqDjwKSGXLZj5KbjJVqJg29vF+cKz9ylWp9D7GO7lTSCnDVy8RT1v7w6Dv p/KQS+LcUZNsOhgjeDAaJkiFigku4o3Un/I/T+l0an9KRakHP4ALOas2g52wN7LYeXtj9LGTM7d QR4hV1ZwI9rf0NTKpvXjIA6D5ynsS2o9/4/uv5pgA8CUmljDzw+Ar3TkFG7GYBaimmtHJHVQ34z rHdRVbBhvPlJf8vLfCpoWvEmSJvONlbndk5UZJrlfJ15yGI1Bh+x/w1fa7NogDKvxheUeUXh7II JdKgfZVf02epyusd5EJzrFcL4spSZmlI11kXmSx8dZ1wC5xaYIkAWPtc9mMUcNa238VVUXeQW94 dA3f7q/uDRXlVDxtMnJK9OE788U1KpgWacBeW4SUiSyB0/DW3Rr8JMVHLK/Esk1JFBC7U7oBCn+ 94Ao2epihnCjjdLcCTEwIdAZX77dwdCS3TaYSChWa0kTPymFJA6zmDndVtEOlna1yKbho70pInK OBYxA/SkR5ieDkg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240330_204334_122890_131A3ECC X-CRM114-Status: GOOD ( 10.53 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Core in platform_driver_register() already sets the .owner, so driver does not need to. Whatever is set here will be anyway overwritten by main driver calling platform_driver_register(). Signed-off-by: Krzysztof Kozlowski Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_disp_aal.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_disp_aal.c b/drivers/gpu/drm/mediatek/mtk_disp_aal.c index 40fe403086c3..f6f2c24abc93 100644 --- a/drivers/gpu/drm/mediatek/mtk_disp_aal.c +++ b/drivers/gpu/drm/mediatek/mtk_disp_aal.c @@ -223,7 +223,6 @@ struct platform_driver mtk_disp_aal_driver = { .remove_new = mtk_disp_aal_remove, .driver = { .name = "mediatek-disp-aal", - .owner = THIS_MODULE, .of_match_table = mtk_disp_aal_driver_dt_match, }, }; From patchwork Sat Mar 30 20:43:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13611720 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F01E7CD1290 for ; Sat, 30 Mar 2024 20:43:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=gkvgtJfZLFYPx9yFQ6Zl+mYWhCt2xCc9NZAo+ZUMPsg=; b=P/t+8kkN4Kgvkd3K2U1wQV7YJX UdbGHX1h4VFvZEm6BRCV2RWUmCrPWRtHnOW63XEvDnIuA/GWAhilSORESOpsJbdr85r5ji8z7vDWy e9j31SVEeQrICuW5PL+UKBao3NQoFR6udzFAyLFSUf7mIdeJsAfhSxw+GYjcJ/TESFdlpDSsJH9J5 YQCUXkIeipj2TUYk7M6cxN3KFdmHiI9sQHO9ouU/qtax3/S9Lv0Nr4oh4AJXihk7P44I/ObePnKcs ZTE7SmlqlErNy9a3TUil2L0jv8mjOVHCGHtgY2T8hrZZr/e6Q4IDAerV40SruDBSam7XdOlbSLnkS wdVaRswA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfYJ-00000004By2-3V0C; Sat, 30 Mar 2024 20:43:47 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfY9-00000004Br0-2hqH for linux-mediatek@bombadil.infradead.org; Sat, 30 Mar 2024 20:43:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=gkvgtJfZLFYPx9yFQ6Zl+mYWhCt2xCc9NZAo+ZUMPsg=; b=LeZUrIQSJOttxLdqEn88HI1H3f kNnYN/u8g9B7A9bhZXdHy7eSPYjcsZyp6bxTQO/dH//4GDOvxls2vPw3V9SjhTTCd+sF5ag2lVhRb POGsyINLIxSQaOqg7DF1y3pNQK/MQAzr6GskV44G3hGH8WpmfGWuhEsVbY+MA/VugORwLYFsUHTRX d19uuC/FeqNFUgJMWDztVTjry0yCCuMFt55rOwcOLhaahYjK3/4+DxLqlF/X6yR+Am30t4kH4dRhT ph9HzfkdH0GyU9Kq9vsUWHmtWoZ0uLOLe7dowotxqWxkdiXxyHCOaGIZGcHqLIQpsNSOSOlj7i2a3 Uf6gNSdw==; Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfY5-00000002EGT-2xRt for linux-mediatek@lists.infradead.org; Sat, 30 Mar 2024 20:43:36 +0000 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-341c7c8adf3so1993597f8f.0 for ; Sat, 30 Mar 2024 13:43:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711831411; x=1712436211; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=gkvgtJfZLFYPx9yFQ6Zl+mYWhCt2xCc9NZAo+ZUMPsg=; b=U7t/7dos5MQCbj4w4zibLQDCsOZLA5ZcuYdX5adw7CpiTPnaoqOCl18Sn4mUK+y59b UzMxuCrlbQ+Tkl9hi6mpKTncOTlWLWoMP1W4J9zXumlC6yllr4kGNU3QrjDt4lbMnUuc UC4djMVPbPpjHjf/wFdd6/qiDxOYpE8VwBtPfD2n3uKKq4oQw88L0BoXlYMfm3L+l9xt ysjtcIZwmvlkK/LsE09xRGFk0rCJ97x39ARdUyskfWH0A983XajYtkidxKXLGtxpKx5K K2daV1+OG8yMF90b41MnFtWr3aDcrwW4T60fDf5VVsiZxYuiC2WoQRbSz+eXpVQ+G1GJ vIJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711831411; x=1712436211; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gkvgtJfZLFYPx9yFQ6Zl+mYWhCt2xCc9NZAo+ZUMPsg=; b=wnp+YJe9xAgyK5RCwGIsE89ONPfoKuxYkbkXYkzJqDL52H2tMUzwtP108Fm5hhIuav NcMvLvCU7e0V7XAhf2LIG+P17gEGWmczifvvbfanhvIPoAG3+uFecG1zDXevlaxv+G5p jm7A8vhS3LwpIYgp+xaYeDjdLJxd36yBWsdPsnZVwoY9GZNZRILIlj6hNT+nvXOntl6R 8YnsDqkHvyQA3EhCTeh7DgtD+YJZNPPF8WKlDaq9OPLtACPmotDusJ4wTRcYZEK4DHp0 GE9QKJQNHMpCTbc8k+UnhP6wpNZYMzj4SsfMjh14T533k8beLmKbQ4qU3bgx1TR8VHjh /6AQ== X-Forwarded-Encrypted: i=1; AJvYcCWTekuuXJtowWC3iftBGdswvep1nLpnAMpdVzDuLc91S2N1U5XlUBSc6/tHn+rp//BXPyVsw6fgDqD+qBz0h3IVXKSBqBZj4+E2gMNwYAMiNF4/ X-Gm-Message-State: AOJu0Yy1GcxD9YHQnHuLtPu56Ocs/x+ffa7xh5IfxdAcYDlLo87XGkZE DqKsnPRaFMTtHY17DAHuX6DZ6KlNV0XdZSEoJ69JcEUvxL2khy9jJLBjNQjXRQQ= X-Google-Smtp-Source: AGHT+IGWOdTkC7o9yGgejAofbZqEmlVeJu8V+2qwkD7lOHPc0dBfgw35/iSYGxJwzZWGT1QRUhFf8A== X-Received: by 2002:a5d:6a8b:0:b0:341:c000:5f02 with SMTP id s11-20020a5d6a8b000000b00341c0005f02mr3680932wru.7.1711831410817; Sat, 30 Mar 2024 13:43:30 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id o12-20020a5d4a8c000000b0033e7b05edf3sm7231299wrq.44.2024.03.30.13.43.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 13:43:30 -0700 (PDT) From: Krzysztof Kozlowski Date: Sat, 30 Mar 2024 21:43:13 +0100 Subject: [PATCH 02/11] drm/mediatek: ccorr: drop driver owner initialization MIME-Version: 1.0 Message-Id: <20240330-b4-module-owner-drm-mediatek-v1-2-fd5c4b8d633e@linaro.org> References: <20240330-b4-module-owner-drm-mediatek-v1-0-fd5c4b8d633e@linaro.org> In-Reply-To: <20240330-b4-module-owner-drm-mediatek-v1-0-fd5c4b8d633e@linaro.org> To: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Matthias Brugger , AngeloGioacchino Del Regno Cc: dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=857; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=4HTnieqsHHDdbgAvPLUTi22tPknvvwpSzFloyS9LJ90=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmCHllHnjO2IXgcN6miz8gttSZeT0bPKxGg+MN6 ZrEhreFAzeJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgh5ZQAKCRDBN2bmhouD 1zf0D/9oyBUNxb4yW5y+lYjzW+8hIB36xGGFf78Pk2cRxdk4fUZNyvxpadpNLMu0Pt5tVSvGiRA vCWgIwn2Y1Q0qaYqio07hjx47/wIUzpMqXiZrXEaFgy/hPcuVh5L9bLBhqK2evNoh1S/foRQUde t7Xr5ANtvslUmKkaBnxTMdhKkrxWHm0zwo4gTH9u6Zz8tZAiKPLimKC9cd2o6qTAHZONztgoDMj 0X2+stZuG5HnDhixW52rogHLxTxGOfRT8IySNI4CShMOutaBORFmo48nVsCKOGs1Y0alef5vqDq saQR+JZktEwuqfrPOMYOL2Sd5hUzY2IWVFHBoFyYwnwnaR0f6wo7qkySwkHpVBqYsFCyrhS/fN2 /mktuahx18Rf+zNlAruZJzoRZwuTl6Vu0E75RheuK0ahrSjV5P+IeIfmlZh9YzWLTuDdwst5BAm ijpg2rOpAVtKE4B/E+7+k7XjoYgKQpfA/dMP+YWR27kd/F4oEpjxcoeryrSEsPKPwK/19zrwzk0 A6gHlTT4k+98Z49dJhkOgmHqAfbMoMceaLv1jwSzlVJ8iCHIoHu08hsmz3kTcAD6rZgor6Wa2W0 ZtBPqX7oPOHeaI8XN2WZ5/DIrzq+NqCI5FLDYv/+6N4rFi0i+AoOc7M60jCvG3HPue2Cfkt7PuB WRWLu2iUpD5fhRQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240330_204334_126100_8D4DC9F0 X-CRM114-Status: GOOD ( 10.43 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Core in platform_driver_register() already sets the .owner, so driver does not need to. Whatever is set here will be anyway overwritten by main driver calling platform_driver_register(). Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_disp_ccorr.c b/drivers/gpu/drm/mediatek/mtk_disp_ccorr.c index 465cddce0d32..ff56c20d4e21 100644 --- a/drivers/gpu/drm/mediatek/mtk_disp_ccorr.c +++ b/drivers/gpu/drm/mediatek/mtk_disp_ccorr.c @@ -214,7 +214,6 @@ struct platform_driver mtk_disp_ccorr_driver = { .remove_new = mtk_disp_ccorr_remove, .driver = { .name = "mediatek-disp-ccorr", - .owner = THIS_MODULE, .of_match_table = mtk_disp_ccorr_driver_dt_match, }, }; From patchwork Sat Mar 30 20:43:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13611722 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1A2BFCD1294 for ; Sat, 30 Mar 2024 20:43:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=0emvF/cLhXuWiqzlLx7GJV12jM/n36nJMZKi2m5TQa0=; b=v9w0NyWzohszKCc1KDRTzq+0Ib kZ1zPWOcL8GyjptW1/J44qUKK13WJr4ZDAldlwSF9FxM6Jm/DXKDXoMgMssAmEkKtbMQKmKCNKFKL 1B77K6Wj+ObkbnYZU0aMG65JHwvjA/R42CXy2KQoV5X8gqGlwn5IXK/OZVGPRgaHshQibkjQ9mW+w DqiC4AmYQoPWnXYCES9aaK5Q5f1fux6rdq0XU8IIbX4BDn1zZlXZmEdNFrqoCsUJZUlYN6fflEU7w nPQ3AW0OfQMIpU7Bt+HmXWNzt7CIBhGuMW/e1NrLqUeTYf4IdN+OXJ+JtDsMBTaFJbYyQUybv2FGT L/wnd67w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfYN-00000004C1B-0uY8; Sat, 30 Mar 2024 20:43:51 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfYC-00000004BsE-2SuT for linux-mediatek@bombadil.infradead.org; Sat, 30 Mar 2024 20:43:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=0emvF/cLhXuWiqzlLx7GJV12jM/n36nJMZKi2m5TQa0=; b=VZ1Aq1uAj9VE5WD3eSFsD90BUM qPTsmWhCbttQ+y/LcrPezpB150MMCP3v7rwVJVMm1KKNA0qRgv+noR7U4bnfSIutsD+IT8SZSgy5i r45IyGx7pEmBcgVaP00l6C22dIypHKn0GQWe5oSEXt8Ce1ag4+uvYkM9d6zBcGn0th1cimDgA5/BO 3veOgBLqvbhPc70k5QKefZrLHUpy0LeCLJNUIMihD/cKcxUzV4Br60/czxirQ1f1wOUv6WcQB3SJJ JgQ6T7zoDeUynUfSkB3Zdb49ZVsZEdECPh+Xx1UDxmS/KeQyBQIaV5RNsO6Z389Kb46MdjnVWr76B WU1ezpgg==; Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfY6-00000002EGU-0AH1 for linux-mediatek@lists.infradead.org; Sat, 30 Mar 2024 20:43:39 +0000 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-341cf77b86bso2033267f8f.2 for ; Sat, 30 Mar 2024 13:43:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711831412; x=1712436212; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=0emvF/cLhXuWiqzlLx7GJV12jM/n36nJMZKi2m5TQa0=; b=LxjWEaRLUaK2m/kT4yyEKdF6XlRMWZDN/gDMNvxaIXFUJNhFCDHaehRT0n2r2u1L6I Y2Bx1TISvBHX+9INmjTUM8PJrzT8wWR74Ri4iVpcmxuhFgdNatd9bZ25jbV4fguyAHok i8KHNPXsM9FO+b8YMjS4m+eCJPvaiglsjrqoT9AE1GAwzYxk0FIZvd3C4FyUZmBNpcSP EwsYzF+7YGYUH4jp8C62KxUG/Hjyx7vGjK+L+PomcxvdqSE2glJi5afvagC+bCzzr+H7 xmGUR3cTfFd0etjPLhMsItTdpRGHsPuXDyN/u31/+epnwEX17EFnaBZGliCL3NcEb/ax bNhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711831412; x=1712436212; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0emvF/cLhXuWiqzlLx7GJV12jM/n36nJMZKi2m5TQa0=; b=QVXQy08W89qZ1KgvjxPIyl/LadJz/QF4/9YAShC1w+ol0/FJjmadpuWKNFyPdYrzVs FQD+eP6aDRgJB03nXpC8GyW1CCcr+bzQoFZDNEwa4DHGS9Omf/5pgNPhJ8+D9ZJRFT0D jTNK/MDcJPDH2bl47vnmfL1XCNilrpQgEU9yusDilV3JlGEHLjWojcOPxk+qf1q4RvKq mJA6YzfQmv4+bgfuwkwof9eB718ETgb+4CmHoxoN9/8oHd3Cdobzor9N4rkVejW2dMez PqIYkKhGoIHNDPDXow+RsEUNCPcWlCxvQVbm233iZQNlwL0tqfgwYshUpD1ZTyI8yj3D 4TDA== X-Forwarded-Encrypted: i=1; AJvYcCXt2Nu2Xle3zVetYjHWTsHVO2HxhzGmQdFyUMcfAuMNkgJAr853I1/2M/L2F4njwZFrABh4xEXGAnFbKfmXHPpYeSEtHxS8PE/QVbhNO7TZ2Q1Z X-Gm-Message-State: AOJu0YzkO9TFJPc9Hq0+HjzZupy8jUYiXeiqbgooaS4IdfUpq6J96kWf jY5bBns6Tb9TH0IQ2plrmyf8tqElqvfXd5OOkz3BTqDFeLX6pk3cBN9H0ueRCdU= X-Google-Smtp-Source: AGHT+IFkGqAbKXnEB2y8QAY0Zo3dFiMkav7aBNaw2zsKLOXyCOq5nMycSsl9SDGCHPDFBAqf4p0WrQ== X-Received: by 2002:a5d:4a08:0:b0:33e:c539:977d with SMTP id m8-20020a5d4a08000000b0033ec539977dmr3478175wrq.22.1711831412348; Sat, 30 Mar 2024 13:43:32 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id o12-20020a5d4a8c000000b0033e7b05edf3sm7231299wrq.44.2024.03.30.13.43.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 13:43:31 -0700 (PDT) From: Krzysztof Kozlowski Date: Sat, 30 Mar 2024 21:43:14 +0100 Subject: [PATCH 03/11] drm/mediatek: color: drop driver owner initialization MIME-Version: 1.0 Message-Id: <20240330-b4-module-owner-drm-mediatek-v1-3-fd5c4b8d633e@linaro.org> References: <20240330-b4-module-owner-drm-mediatek-v1-0-fd5c4b8d633e@linaro.org> In-Reply-To: <20240330-b4-module-owner-drm-mediatek-v1-0-fd5c4b8d633e@linaro.org> To: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Matthias Brugger , AngeloGioacchino Del Regno Cc: dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=857; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=GRHvmMpjGaimoM6mb70wpxBieg+Y2V7L3kfHMvFyhf8=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmCHlmQX028BWFMF7uYbxxXKUF/44ZixRru4Atg GlhsSuXrtyJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgh5ZgAKCRDBN2bmhouD 13ehD/9Hd4ygwzrjIvHIIwXY8PJt8UReasJZDJHAagJiHw+xkF0t5Ec1gIny/0GNd/jke3znzZN I1KVY31Tppzsk+l0aMsK+Dqta5He7KERwdfWpZorLx/4OYmLuGji/q3X1pK5PmOEbBYz5a26Fc1 QCpM6bpUJxn3a1hDJguxb3d9RDlss1xVKWi4SXvFFXEt+wRIK+IaPspPQ4X5fgWSi559skINnZy UNFwl9mTeDv9bWydib0pGgaR0BdqlWtPx6mAuLrDlFl08HEE3XmuQyR6SrxFokIlF7rFZx3LXPQ ecDqvoSUd+PHla9esGDUFZMK4hFsasW08AC4ZGL9gCCTWR4/wLrsuO+SgBr6kmM/ElZCqulyTnD hFInPjuF0IoeO4cLeR+ChknPft/mZYylGRmcKJMfqjVKMsWKklDhYDYQ+yplNNzbGGu/Gwh910M j+MDAZElVS4b7Y6+aTkFh5+1HBIOnrQGFacFhvwSHHyWalr5vzHAxXTiMaN9NhzssJFH8N5p4Nc JaraB4apf1q3MkxiX9OrrrEJpdYJBCaGEQ3KTLWs0LgB0M+mIcXIa1F+IMMJZrm5UXr55vRM8Te G25+SaIwsLjDVI6nOtbSK1DGVUlpifEXp7x0yKNVGgEGUrY5ZI1dVIpWfD/1XnMJzRCZywRG7jG 6oT/e40ZzEUHaaQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240330_204334_168972_D84E0D7D X-CRM114-Status: GOOD ( 10.43 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Core in platform_driver_register() already sets the .owner, so driver does not need to. Whatever is set here will be anyway overwritten by main driver calling platform_driver_register(). Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/mediatek/mtk_disp_color.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_disp_color.c b/drivers/gpu/drm/mediatek/mtk_disp_color.c index 78ea99f1444f..b3117a1a6535 100644 --- a/drivers/gpu/drm/mediatek/mtk_disp_color.c +++ b/drivers/gpu/drm/mediatek/mtk_disp_color.c @@ -164,7 +164,6 @@ struct platform_driver mtk_disp_color_driver = { .remove_new = mtk_disp_color_remove, .driver = { .name = "mediatek-disp-color", - .owner = THIS_MODULE, .of_match_table = mtk_disp_color_driver_dt_match, }, }; From patchwork Sat Mar 30 20:43:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13611723 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A31D8CD1290 for ; Sat, 30 Mar 2024 20:43:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=s2SriLcn9TJO3LgQJx20T2AIgEEtOSgbbLiOwdTXH8A=; b=NWvI2nyLlerfbr2jcvwRjxOlWs kJP4eLZmBvcxHOOTpUvzn8xK+opSlpAq7hlp8yhbonRHoDNYsblVrnM7EnRsupOwRYKh4uLHaOAuu SCBNoP8f5UDReQzs0dygTEFFL3222BFdpNa2pjjFW7Dzij2tYbVYhaAuhYz30JeL1gzhmEVwZMtQg erTx4J/CYaO2Maop+jVbM3x7f3AVMt8amhkBIe58qDPDBXDidewW3trBUfCCVkIf1YGNUkZ/BkRwc Uz8L4508oATuU9RqcdVGh6RMtEIvCrEDJgjJMethMLUIntFOguSc5qvhImZWs1CpkoaV0+wEnMrX6 uTtSgczg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfYS-00000004C6C-0kYh; Sat, 30 Mar 2024 20:43:56 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfYC-00000004BsG-2t4R for linux-mediatek@bombadil.infradead.org; Sat, 30 Mar 2024 20:43:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=s2SriLcn9TJO3LgQJx20T2AIgEEtOSgbbLiOwdTXH8A=; b=OKc0L8t2AB/6lc0EG1LSZZgjTS f1Fk6TbApZTlJojMuXE62csTzwf9g9nac8FeAPhStFI33XvwgOCcEMGahhj/QJRQ84S1Y6mBPQYWs oZN5VI0jEBI+5b/ykfD5RZvFMzujaoUdyGmIZ8KBv/Bcspml8kW1CW1qA0VDoBS3KyQUra6C+kC87 mtHJy5w0miFgQJnEkWTqSyUrJ72qsHgZ92wLqJYhnhVNQ/jJ24MG/xUh4Y7Sey+ppv8AERYHZzUIF i/TNI+/ca7A3TsMVFp9ZoX48MzVceK6cznbirl84k46nFoChlmusYz6shXxbIpz7p1QMoOHLsfmPd eKANOU1g==; Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfY7-00000002EHD-2RLh for linux-mediatek@lists.infradead.org; Sat, 30 Mar 2024 20:43:39 +0000 Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-33ecb04e018so2223656f8f.1 for ; Sat, 30 Mar 2024 13:43:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711831414; x=1712436214; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=s2SriLcn9TJO3LgQJx20T2AIgEEtOSgbbLiOwdTXH8A=; b=UNNZov7tjxxLpPO7IroakvskgJt1LvtETNBSNP5fX+l/f4i2yqp7FFE+575/ydgeZA AiI5lWZMAldK3eZ9X/dAVBe2MwSXRs8ygLCN4CXOtvS/ugN/8CSl6YFssWzXweinV9W1 IUvqAjtRtiqwi/ngwcQUXQG7gbLReReLzO/SWy8nFg+zMCtPJ9+vzTtzIcATZGqXFOVD 5Qgn9F0bBLe4KZiVjHx+lFJ2aRypW2AJlc3XswJCeE1y/y+bjXN9yuSF2WGo2FeU+8U0 OWZLFuq+wOgEMTnCcK3OaPIxob45/G4b3qpmH+vzZgqbPOguL5B8KUcPxuM5AAH/1aHq poIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711831414; x=1712436214; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=s2SriLcn9TJO3LgQJx20T2AIgEEtOSgbbLiOwdTXH8A=; b=IPabEr8Zr3CwVmPDDbPM/KwXDYLO7ktLe2a1EUkJF4vept8jku71Sl1PjtH8xy9y+7 6YmU1cbBPnE5vMYRBwoS/FHuqovWm7IOjEiVc7AE1JD6/R7BmfCTrbcTNx/7B6vaomh4 CgnqhH8OXULgs6LdwnsQs6eDTMmdLMkmcO8cxTSWDpQbFOwV3z6XsJ/xW7VS6lGIUEe0 doelBhXZQG3rmxbzpcQgK5NsRO5JYyrMqtiieVytBxQyNTMGMd/endh0vQpKHI9eRJLU A3Zmov+aaN5GjKOdIkPjbvxer+VE27NPAoSFD5efcAXPBqvU48LX3ugiSbU+VJIvYtAY ktAw== X-Forwarded-Encrypted: i=1; AJvYcCWEPwoZc5Pfo7DEaBb2KECmvSvT41W4+LxrjdhPN2Y35MjZMiT9csrKB30TJCAuZ8H7uHTBTEqt0PZrbSyYSiEtm1ZVmaQxad1clM00V3BlEIeD X-Gm-Message-State: AOJu0YyC09p2SAiie4RKiwwNsqrmvm/vfvfT4Zqz7pK7JIBR2M0gGfay Br9qrqHYG3FmKmQLHaxh7IYQS+1mm90Qh94OrHA9jq/NgBxnJ+bYPrNyTn0SRe0= X-Google-Smtp-Source: AGHT+IFvLt93H7dQNeEDZguMmmS4FNRGep53208CGmKxPVfo+bNUGLha89NjiS6FAQW3YrbqOBbHaw== X-Received: by 2002:a5d:6188:0:b0:341:9a78:c008 with SMTP id j8-20020a5d6188000000b003419a78c008mr4014410wru.49.1711831413830; Sat, 30 Mar 2024 13:43:33 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id o12-20020a5d4a8c000000b0033e7b05edf3sm7231299wrq.44.2024.03.30.13.43.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 13:43:33 -0700 (PDT) From: Krzysztof Kozlowski Date: Sat, 30 Mar 2024 21:43:15 +0100 Subject: [PATCH 04/11] drm/mediatek: gamma: drop driver owner initialization MIME-Version: 1.0 Message-Id: <20240330-b4-module-owner-drm-mediatek-v1-4-fd5c4b8d633e@linaro.org> References: <20240330-b4-module-owner-drm-mediatek-v1-0-fd5c4b8d633e@linaro.org> In-Reply-To: <20240330-b4-module-owner-drm-mediatek-v1-0-fd5c4b8d633e@linaro.org> To: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Matthias Brugger , AngeloGioacchino Del Regno Cc: dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=857; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=fEKPyt5MKP0ErlDj1eUkq/Xkd/ayVcNlQIh45H48Y8g=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmCHlngBYZ9rPEtMEx31DNrPcnol9e/jXK/FMCZ lDKDZ5jf7mJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgh5ZwAKCRDBN2bmhouD 17gKD/9p5cCATU5vVXAAZCgUsG7dmcij8oCywqqHS3x1Qq0cqPf7gr0Zd/kpFMF1DdMssMO0dYX XK7W92I8IUSdDg22IuZWSH8ktqIHU1QzMdorcsI3oiZjH+6qojx5ap/zSkLg10eMaPFhuoCmQBP ds8yx6F1mVZKXmONhr5F1u+1P085CKvcOP02uc66hD0CFKL6yXENg87oZBt/dOVdcCBH0fKv7Hz InfN+dHnfxDrJYpHtgdeMgmJWcwcACXLkwTGy7TlO9mk5B+kuXdRWKOV9S37FnmU59Lp1Cro/bB mb/P6G+cwMdrwhTWf/lZ49Xpz36va0+Ddsc9/g4c1pwgmJtxg6jPyYTR9Oo4uf8MJ5QB1NEBZiX Rk2wDpM/nOzZ07aA+EF12Ij3jc+gcE4XWeq2kKkaDWIRZSAxB3hy9lVhSvMlQtAAcXa0KIX7GY7 n0GxR5pdUlG9W59F7jKWb6epcbyTJFJ0eIORf2OC+UTxQtHmKBFcotReUBCMrKthgTkoymYiJIQ hG2DXYW9URO39vmMcIq/VK+wXSLn2i+5qYKEu3KCzSGG6vxU516hb3SLLe7JIQA2/4oAuKCSxmN 0yIc8n+hOk313lvKKpKcYIVRR7aWzFLKid9WLShyO785eU/AlKBTQE9ptt2jQlK8vKJ+2kmpolU HQb4rLJV/rv9dIg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240330_204336_428090_74285C9A X-CRM114-Status: GOOD ( 10.64 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Core in platform_driver_register() already sets the .owner, so driver does not need to. Whatever is set here will be anyway overwritten by main driver calling platform_driver_register(). Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/mediatek/mtk_disp_gamma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_disp_gamma.c b/drivers/gpu/drm/mediatek/mtk_disp_gamma.c index c1bc8b00d938..572f0716a0f1 100644 --- a/drivers/gpu/drm/mediatek/mtk_disp_gamma.c +++ b/drivers/gpu/drm/mediatek/mtk_disp_gamma.c @@ -334,7 +334,6 @@ struct platform_driver mtk_disp_gamma_driver = { .remove_new = mtk_disp_gamma_remove, .driver = { .name = "mediatek-disp-gamma", - .owner = THIS_MODULE, .of_match_table = mtk_disp_gamma_driver_dt_match, }, }; From patchwork Sat Mar 30 20:43:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13611719 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AB5BDCD1293 for ; Sat, 30 Mar 2024 20:43:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=eZMcyUqBR/k0OnBPZ/xItiFTsULknE/cvSgUpIGsEGs=; b=FeWQH1hz3dYQpQ58yPawD7qYW7 Dzi+3q4VCOauWFuoGAh5KsYEGEtuZNcYiqNNg703v++M8spqOC55378WET4iqtZLqY4lGcodU2EXJ fHGGR1gQ9c7Fef6hYW6PL5aPSx6RpN/VFezcZfRlr6gP9YrfUIehaBOpl67ja2neqfIYtUyY9nWgi 8g4Ie2PFVpO0CxSFMb8QJ/ej2N69pRheYEFN4BpFr1zZmA8G+hz2PXQIFw6LgbNl5BKErnmMmZoq3 G0MBs6I1zhlrBPfiCmLI6TK5QQPmZtgK+3vOI2TZCZ0tAGVJ2q/7YXTlfM5GWjODuxH07Lt1775f0 9q1QqBJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfYM-00000004Bzw-0hDS; Sat, 30 Mar 2024 20:43:50 +0000 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfY8-00000004BqG-1qEs for linux-mediatek@lists.infradead.org; Sat, 30 Mar 2024 20:43:37 +0000 Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-33ddd1624beso1813933f8f.1 for ; Sat, 30 Mar 2024 13:43:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711831415; x=1712436215; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=eZMcyUqBR/k0OnBPZ/xItiFTsULknE/cvSgUpIGsEGs=; b=vDcUArS7zPxeuAsvTN0GWiPo2L6cuGc7uamN5HHnMRcd84NUAOr/7HvMc7TBsnMupa +UtIyne3//Tx2B/bXSRcF2Eq0QA3fP7qq3fJ++7Z3/YwvYYJY1W43MZESWYWCA5KqdcX mgzydBLtImggOcseIYNhuhd4wOjaBrbegO/A1McPtKtXjPimSSZUYZuF3F2v8hZIXRPe Updq+sRrSbPvMnAWVqjKsWEfoaJfFiDbM3/nfETum9I+P8ty8Jzdg4Jo7CNHeHOVwPpj GfdOqJsFv1eQwcsMifw0rGInV/KPzWKesb3D0VZFfMm/0LepMH14YmGAwnVKsS4O87lb aH+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711831415; x=1712436215; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eZMcyUqBR/k0OnBPZ/xItiFTsULknE/cvSgUpIGsEGs=; b=T6ExVzpwXuiscwitcZnQZeWvqYWzuWafxTZ+cmE0F1vMJ4SucIc5GSNtNpsnaJDDSN KaBIl3Gf0KCFU72PFyL2sH/HyBfZT0L33YtOwZ53VcECPU3kHuwGpUYz0FEtuN7kb4Lw qq9WpPxn4jMkqjmeKehOjNK0qW6Y01k9CJkHzdzRUeM6lpI8fP6Es8IRrLLpQSz50YqO 8XNMx8+U6fToTRCWnHkeWpctCIwPsg9KQmrkoLa6T7OGSyU0dXzsJTCERgd6iYFU5we/ Y5BfQUj+MB0Bipe4DEy46jVDZwQdmnFLawNvceHM2XgvVVRsw9/QbpQ4273NSLQxI7y0 vxgA== X-Forwarded-Encrypted: i=1; AJvYcCXTLu9+Pnd9fKcDrTCku3Smkmycy7tLkPurUF5tv1h2KcljnL2114waYkXwGYTLReL7he/ou956yfENmiI/GQmN/5NuRmoiHhIh7vuXvydATQF+ X-Gm-Message-State: AOJu0YwfcHrkpt/Kk1h9OZR+Gml4m4RLxdLyYC0ayG1C4ONyKQewki0m 7/oWyO78jfrpWniwJ7zvDqNP1wGeiifvJoLk9eGs3jUnRDR7oa8mOwnNLebi8S4= X-Google-Smtp-Source: AGHT+IFOPcibh7RcxYoE+yKeTFuJDxXx3Ni5EVSpl4ErQkQW6bt0OOu9CjiSEgZ50RNBf0gaqrtggA== X-Received: by 2002:a5d:6d4c:0:b0:33e:aead:af07 with SMTP id k12-20020a5d6d4c000000b0033eaeadaf07mr7795224wri.27.1711831415254; Sat, 30 Mar 2024 13:43:35 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id o12-20020a5d4a8c000000b0033e7b05edf3sm7231299wrq.44.2024.03.30.13.43.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 13:43:34 -0700 (PDT) From: Krzysztof Kozlowski Date: Sat, 30 Mar 2024 21:43:16 +0100 Subject: [PATCH 05/11] drm/mediatek: merge: drop driver owner initialization MIME-Version: 1.0 Message-Id: <20240330-b4-module-owner-drm-mediatek-v1-5-fd5c4b8d633e@linaro.org> References: <20240330-b4-module-owner-drm-mediatek-v1-0-fd5c4b8d633e@linaro.org> In-Reply-To: <20240330-b4-module-owner-drm-mediatek-v1-0-fd5c4b8d633e@linaro.org> To: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Matthias Brugger , AngeloGioacchino Del Regno Cc: dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=856; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=b0EHgo2CSjStKtKnfeIekdpJQ/pX6wxzKF2lo+63Woo=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmCHloSNtO1tsRRuakSotnUeOaQAA9DlbxPKmI/ yM6r0Xqsp+JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgh5aAAKCRDBN2bmhouD 10pCEACFpCtrkjDrwu9QOYzz5bM9bqeh0KBhf+W1dALn5Ht/30IX/W+7jJvPORKHVniuYO33gGT a7BwIHK09dyu7aOdYL5bUGjXT4g6KqG39elMjWNnqKcBNMftmpStHOk9Fd3RXhJKhUiHnl7qKjW 511LU+UBWbypp6yYmFowuMaGHjJZnnUJWyevgX3qZAGy7iED9B/Ce+tRZ1U+mLehS0b5D0rD8Ls 81mmBqjGtGBHpLZoFERou1ioCvQNFpCWqoKkmC0PnPwyj7EtUguiOd68josP26+PBWX20XczeTS 3fwqoktAmFp06fxQ/J+3o18p4s2m34/y+8pH5AAfdi+TIkkUyg7VNaAqyvYM4wjx2+YiVXpKoUO 9FTLgL+Lai5oQkbncV57uYm1vLUBBAavV7gWqkv10p0HkRahzhsOKaETxQ9y/q0nqU4QyZNCbjK VR4CLTcWom7HtOI9y5Bv3GPsndZupDz0Z5iivrwgAFiDLvpkgfgjvWKA2j6+AdZDXojZDGYaJxC jeztkiDPkfw0L9you3OfEQWVpU8tqLaAu8Dso14Xzg2B833AJUVMP28JGe3iGFc9laMGGtVtEoQ lM4DOMK3NNL0zRkr1XImXb6UOqS0y5YupA6yln9qjW0llyaFneRfnkiG/OgKA5n6yJiT+ck4T71 dEE+TSySv/rG3Lg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240330_134336_575217_9EEF85B2 X-CRM114-Status: GOOD ( 10.48 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Core in platform_driver_register() already sets the .owner, so driver does not need to. Whatever is set here will be anyway overwritten by main driver calling platform_driver_register(). Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/mediatek/mtk_disp_merge.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_disp_merge.c b/drivers/gpu/drm/mediatek/mtk_disp_merge.c index 32a29924bd54..a04f76dbef73 100644 --- a/drivers/gpu/drm/mediatek/mtk_disp_merge.c +++ b/drivers/gpu/drm/mediatek/mtk_disp_merge.c @@ -376,7 +376,6 @@ struct platform_driver mtk_disp_merge_driver = { .remove_new = mtk_disp_merge_remove, .driver = { .name = "mediatek-disp-merge", - .owner = THIS_MODULE, .of_match_table = mtk_disp_merge_driver_dt_match, }, }; From patchwork Sat Mar 30 20:43:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13611724 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B3986CD1288 for ; Sat, 30 Mar 2024 20:43:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=QWJmDtW45HEJ3u7PqTsUPbyNK5NNAsCg2Vc2E8WL+CM=; b=dP6YuNWkdRjSiJdOS/Em0pyhQG tYtcyCRUhg4sUf4tqxuGgx9ncZyDAL75LjSmUrXDpRXSAFrWfzxyudw4fhyqWE/TdSarPt1KBgPKJ ytlWcNX1/C8ZRacDVOgyOsqAP9iu7FJG2BnviuOzWDoezZ22AAUNniaTHX5dUKaTQ+LgQ73Zw+qO0 PKlD6sUFWJDauGTuH7xJYUnb4em4MclV97cIEdR//QWbmus2NllojY0+qnWDpwn9cQG8LlQyV/myI 2gWXf5aa9/yw8nFEoUCEBUiZtXg05FGGm6pU3teMvgYeYsgWpEfoN0410afBaIRpYeTEl3C02jXT+ h+RLdEYA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfYT-00000004C7k-27TO; Sat, 30 Mar 2024 20:43:57 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfYD-00000004Bsq-3G0D for linux-mediatek@bombadil.infradead.org; Sat, 30 Mar 2024 20:43:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=QWJmDtW45HEJ3u7PqTsUPbyNK5NNAsCg2Vc2E8WL+CM=; b=Qyxee1ILbaFXctGLlLleKXy2iT PF2m3jUu2m9i0zxh+XAxRv3/OVtt4FOrK/2QLl01JWi7oxwYv83IvNE3diFw1l8zc9XfMRBNUKydf xxgGi0aI+k1LJ+nI4hXsf5v9X21O/dmPGJf9MQYfEgElT0HiwvgsI32wqSNP5mBiAGN4/6qjTmYbb 4doscjbS0dTyLn3/RqYuwbJZCXqeLvJW8UiN6YcNw5hVjPxaREL47tiHpgFJ47YQu4HMT8jw3P30r PZCtCB1NmccVCtGTwr+CG7vk3Y5Sl/5FfUiew3hA6tBkCeZL+3v09PSCOvnll+qwMNDmTycVxW6fT KVBW6cLA==; Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfYA-00000002EHp-0nnI for linux-mediatek@lists.infradead.org; Sat, 30 Mar 2024 20:43:40 +0000 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-3416a975840so2330547f8f.0 for ; Sat, 30 Mar 2024 13:43:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711831416; x=1712436216; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=QWJmDtW45HEJ3u7PqTsUPbyNK5NNAsCg2Vc2E8WL+CM=; b=smGOoHmH3qfo3poTE9J3sd4hVMpIIhNcIY9ZHddVbEqSW2BhaPeg/KDfvsO8mtEAtU CeuBrAxOJsobYQnksV+lXlfT93/GCTJEkucFBuD9/eqwWyc7t4Ewrnd3+qcGnOv09pYs Y/o+4Nk82TxfZmhFLHNLKeYR3ry8gx2dHzyqHUJv7woTDYiIkfeQ3uUYHJXcrVzy9Gkj moLCiHpV5Q1ZwO44jeo/Z7HjXDeVnBjgzx5q3j9K7mAQ0ymrGQITQ92yJYx6A9stvq2h BJduNpKQNLH2GUNgawOPQe9qfDLHmPsKZcAZ/544M1Bv3uLWynlP5y207uWcQOOVXmFB dxpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711831416; x=1712436216; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QWJmDtW45HEJ3u7PqTsUPbyNK5NNAsCg2Vc2E8WL+CM=; b=XDGXwuiyTLcLmxrZdx0YhA8dyZ8fRSRvhE5fODjqLt/IVMZjYfNUdtU2itU84rmpST 6bXfmid3u0XxwtAemRaXF8CkZEyn0X91T5Erun5CZL45AeWYP2R5y8jAyZyTuN/xLsaO UoOUlkfyb3+5JeAePNVKjaJapKG6mQ/ccLisGqskOVUYhvZOEuifv6DDZSRkKwnglLQk YUMqsNP4MIOFx6cCFxnIYW1ZVG5sG2PkQpv5r7V8hHljE7v/+NLGkltXSqkflqt4ph3z NSJDPQQ1lPYFnD/kLKAxqn+h2RlNBtUpexinC9mLJ+ojyKWsP4ZN3LHI92+QqOmbrYSe tWvA== X-Forwarded-Encrypted: i=1; AJvYcCXiWmor5UjHUhZPTvFmsCB3zJgTNruCSUy+8jCAfgJGRkoG5/87DTfZef0E1oBK2A72rBIScwq/8FfF1XEYiBuEZ5NFFS76ZQmYKX/gogX4dh46 X-Gm-Message-State: AOJu0Yzfk+pUK2PtJum2+Knaw0nN/e1nzYlent6UW8+qjT0bxfi/aNkq Tt+DcAsTj2wAkVpwwlAs+OdoUouEM9zl0borOwAkRfRVRHi7fksVdqiDPE3HPJ4= X-Google-Smtp-Source: AGHT+IG+hFfASnhq0/mKQq/p18W4G3oaCfPiHAHV8QkPFTQ+2T8akxT/w8IqahTgANQV4BXyYuOElQ== X-Received: by 2002:a5d:5f8e:0:b0:33b:87fb:7106 with SMTP id dr14-20020a5d5f8e000000b0033b87fb7106mr4541576wrb.55.1711831416697; Sat, 30 Mar 2024 13:43:36 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id o12-20020a5d4a8c000000b0033e7b05edf3sm7231299wrq.44.2024.03.30.13.43.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 13:43:36 -0700 (PDT) From: Krzysztof Kozlowski Date: Sat, 30 Mar 2024 21:43:17 +0100 Subject: [PATCH 06/11] drm/mediatek: ovl: drop driver owner initialization MIME-Version: 1.0 Message-Id: <20240330-b4-module-owner-drm-mediatek-v1-6-fd5c4b8d633e@linaro.org> References: <20240330-b4-module-owner-drm-mediatek-v1-0-fd5c4b8d633e@linaro.org> In-Reply-To: <20240330-b4-module-owner-drm-mediatek-v1-0-fd5c4b8d633e@linaro.org> To: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Matthias Brugger , AngeloGioacchino Del Regno Cc: dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=839; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=v30/7g6LlGP3tVcCZHt2tO6SJcJFhbx0VZHT/xHvl3g=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmCHlpH/nOsD9iDkauUFajwnyggNRWK7nl4QHHO o9wKXLw0N+JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgh5aQAKCRDBN2bmhouD 10pyD/4gXiChI6eF/nqOH/ByxwmwE0S1I82agd65uR4+66SlR5/x8yjVJbZMPxbRVdKFW34oGWu 7zQx78eDNJUdj46hPevBL9YyxLU0DDJBKIO3lGnBvA6qTdFSnZDgFll0udt/PYkxrspnFtHi4cF /a+Qzmbqq1EJ2+/28ISHGz1d4XAnQiSAgiz+4QKGonnvawsC4aU2349Sfy8Qz4tfCrceFDzGTCd BEOYpQIoFflOxMVHckm30bU2OYWEqgM/juyXtBSUu4pFXpTRUwg6Op3yVf5bP1Mdq5CWliPQ5EZ FdxhOs04zmesoB8zUgwCWtvsXPTHhpwUi83dPXcn7W9CQjFGoEvENiBIh4e6n3sdixZn918En+p ZM4YAh7nTJWmSY65NhgmyoQYR4J6F2asn8OAGcg5fsbbXr4nU5MiicXLdd52A7k4VQYOrtj7zH9 6VuAr2NoToeiNKO7Hp66WYuTNrF8OwgAO5YheqWsZiNqcNXIfPwbNx/1AXFyOKz2LoKqDMMzfC5 ujOy7SKcKH4vpeUd4362htI7DjffLSta+CzOpI8wPOneKTkqJONlmJUA6/nzgugyXzaEAkB+/nu Tolz6MHQRTuT5FaBr2Ehg55v/aDb6Nqtmn4G7QFoUgO3KimXRvOQ64eZfqFY6adVlfAcMBDSAyy W5TouLFV3wQn9Yw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240330_204338_550915_30E3AB15 X-CRM114-Status: GOOD ( 10.43 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Core in platform_driver_register() already sets the .owner, so driver does not need to. Whatever is set here will be anyway overwritten by main driver calling platform_driver_register(). Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_disp_ovl.c b/drivers/gpu/drm/mediatek/mtk_disp_ovl.c index 2bffe4245466..c754dcab716c 100644 --- a/drivers/gpu/drm/mediatek/mtk_disp_ovl.c +++ b/drivers/gpu/drm/mediatek/mtk_disp_ovl.c @@ -659,7 +659,6 @@ struct platform_driver mtk_disp_ovl_driver = { .remove_new = mtk_disp_ovl_remove, .driver = { .name = "mediatek-disp-ovl", - .owner = THIS_MODULE, .of_match_table = mtk_disp_ovl_driver_dt_match, }, }; From patchwork Sat Mar 30 20:43:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13611725 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 49A07CD1288 for ; Sat, 30 Mar 2024 20:44:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=xrZ4GhO9wf44T+ecEEcNLW7XVBn6abcNvXfy8r76/zw=; b=d68HcMvMjvzQm/Xi/IgZuiKhU4 isnM4qW0nEOLw0/8U5mGRL2mhz6cXYLcb5z+tYBWUFzDe5F59vIgVA/LWahION1VKgcTqs0vwII+N 2Jqs/WL25/s2Mz4bbTfWOUSdm6czu5fhTefAJZY++mQCfnNeHdtijDACUThA+k5GINS/8vogchdRw uXX7XVQKG8HCkzgBEAFVbUeGKGojw827Vpz/4AHirjh/Tuvn8c2prZueFlozZZ/PRTiR4Dso5wu1O pcsg0mskPqKxONAhLjjCAUgC/DVeqCDg/1PAdkeJw08SemFU6uO/re9J90q1tiTxIvII6um4VJkdC UI+vk7Nw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfYm-00000004CLD-3Knx; Sat, 30 Mar 2024 20:44:16 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfYE-00000004Brt-0SuJ for linux-mediatek@lists.infradead.org; Sat, 30 Mar 2024 20:43:44 +0000 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-341cf28e055so2169323f8f.0 for ; Sat, 30 Mar 2024 13:43:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711831418; x=1712436218; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=xrZ4GhO9wf44T+ecEEcNLW7XVBn6abcNvXfy8r76/zw=; b=nKHd7ZAngteP5a1m6E0/W588gUrmzRNRJkBjxGhe075eNZoLv6MIuZbzkvV6KYCKdc yeyfvz+JOFt8Jm33GSkejadO4SDI/awGR5D346zGBwOcQ5rprOXI457yC2nHe4X/gPJf b2dz3kiE8+Vc3nO5EkKRz8cYESGU02wA7VcBZLhmFtxGaRWIpsWShjenkZ4eUCVwLSqf vQiJxpquPg3DpoJABHekoN4z9Jb8dChPLspP+mnDUajSPXc89cxj0Kqnz8shjrEkWFSa SKw6IUfANd0b9Jxy0WzSO5titu0tGKl5q1GuuT2I3vazgdA4ZauG4qtfm3c5SADxGnZA Lmvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711831418; x=1712436218; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xrZ4GhO9wf44T+ecEEcNLW7XVBn6abcNvXfy8r76/zw=; b=VrIIO+kbZ0FabADQWeDM30q+aYmnPLfxFgAIBnCTuTyxKq2ecdKJwRrl9qaTFOd+6R +6qxHyfkKaF5D3fQ0aThkVYNJefwZjvWEc/F8m76PqhI+W8cvctnzKuffNUeJstWyvPX 7SExd9V8J3Rnqj1W/ql+DhwNNX51Q3DYxl5XP7K+32EGX97a7eL4WuqNViXGni55TKqF qVSQfu3fzhznjxWJQ64tlP5JW4CVRQ1JPAURKTLhsl1Lrxg1lX9mtZtv5Jw1Luu+I29m sHSXB/g036BJHMq8LNYk7T4wcICA3y2/MJZLpA/oOJtvV2KODfbhyY1BCqpPl3ZGhij8 MiRA== X-Forwarded-Encrypted: i=1; AJvYcCXnBkJHqjiPN4qxXuX2CtoWexgkg7tCWu2/wElxY+vU0SOSiVP3CuTcGYp26OaalhpABdSWefwVL2c66Hsj9vNvpdMWnLJ3GOWoXNjeWTv15S52 X-Gm-Message-State: AOJu0YwvC02+jR1zKPea6mz+HAUh4kj1zB1SIxN1FuW6dgNrp9zwJDgZ OUrZ87GE4q6QUJHDnZIp3tEwDjQo7ZxpekRDflARfI6u/0FENQeqePuSMPNRMPc= X-Google-Smtp-Source: AGHT+IE0PKWcklEiY/N3DN55kHettlS7ue1JIpmWZl/a0EdNno4I1Sh1h02er5fS9u4AqXd8tM05HQ== X-Received: by 2002:adf:f645:0:b0:33e:c522:a071 with SMTP id x5-20020adff645000000b0033ec522a071mr4191961wrp.51.1711831418298; Sat, 30 Mar 2024 13:43:38 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id o12-20020a5d4a8c000000b0033e7b05edf3sm7231299wrq.44.2024.03.30.13.43.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 13:43:37 -0700 (PDT) From: Krzysztof Kozlowski Date: Sat, 30 Mar 2024 21:43:18 +0100 Subject: [PATCH 07/11] drm/mediatek: ovl_adaptor: drop driver owner initialization MIME-Version: 1.0 Message-Id: <20240330-b4-module-owner-drm-mediatek-v1-7-fd5c4b8d633e@linaro.org> References: <20240330-b4-module-owner-drm-mediatek-v1-0-fd5c4b8d633e@linaro.org> In-Reply-To: <20240330-b4-module-owner-drm-mediatek-v1-0-fd5c4b8d633e@linaro.org> To: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Matthias Brugger , AngeloGioacchino Del Regno Cc: dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=851; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=Xx8KP882juDZyxUVOCDSGgYxDLvUN7i/bRZCWIrU9k0=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmCHlqtSIEZvgyYm0QNmdSoI/0Wde11KsnG/jUJ m7Cc1tVbx2JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgh5agAKCRDBN2bmhouD 149aD/0UGMkv565y8FhNpp9HZfNQ34nUp3vU7wEYkdZOgitnzav09vI0i7+j+yW47eieNyoiE9y 3+qIAbw4PT2fQ63Zm08uVzvJiTQSq3vQ5qfDgqWqcL58EbJBxZaWHMZRdeX+v5MTtkqAx/ahWsS /uzTY8BAgaOtMXkuvjnsAK09Mj0uY0iMXCuS50aS8bgTVV5Lz+XkAO4De99j+XB/SLetcPoHwmh Fw8sZDXVfJvQrnT8KeavVse4dsQQYaMAnADfsS+JFmqn+38zoDpM3trwMisX8g//g7smDvTp5z9 hgvEJ3W4nnUzhoPK5UCux/ukE1TDZMx2TkQzCzsWacw/siMas8BedF9aEQLbwWisucG6Q6zJt40 Bw+eoNNzya6MiljOu/7qB7XjlIEU2PzXI3OW+mp7wsne5CPK3sfyi3xV4ed4jebTOjKcrYy9tPA 3NsOmpkXbPhwdRT6MRxHgCXjyJtL54cMp9a/xUivPijNbW7wrHweepjHL+8Jq+DKwJp7DYAkiJA 02Sg83YMIfaaiyBsvHD8sQ1kXwEhmkTIC0y7IKFI67urmorvN3REG0tF8zznMdp+eUfn94KgNuJ CBMenub5TWPNVI3yF/8Fd4pSU1z+XD7xMZPv7NAjF2eeeFWyNo87r+hi4f0V65Cs9xn8xHp2J1r EFmG3PHwCdoDlMw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240330_134342_200546_93F8311E X-CRM114-Status: GOOD ( 10.38 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Core in platform_driver_register() already sets the .owner, so driver does not need to. Whatever is set here will be anyway overwritten by main driver calling platform_driver_register(). Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c b/drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c index 034d31824d4d..72fd5a095960 100644 --- a/drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c +++ b/drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c @@ -629,6 +629,5 @@ struct platform_driver mtk_disp_ovl_adaptor_driver = { .remove_new = mtk_disp_ovl_adaptor_remove, .driver = { .name = "mediatek-disp-ovl-adaptor", - .owner = THIS_MODULE, }, }; From patchwork Sat Mar 30 20:43:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13611726 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 17AF3C6FD1F for ; Sat, 30 Mar 2024 20:44:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=7VY3Dmu4EorH40eckWnwkm3etCmE+/q9rUNJeyLZY5c=; b=sXW6EHH/JCnxiASTJrrtM4J6KD YYKYvd2cPUZxgV1ZlJjdA4w7+paWLTS/ZaoKDb5Nxukc8UjP516UKFPx8mVJe5QFO9L61SbrV+nCP meIIOEBNOjXI4NYDrLmbsS7Tj2YynmfU6ZVd8WLtSxSpOG1RMSZpBua1FbSTnqTo/LXjO8rjUAtK3 72dk2/WEgBoz10Yr5EYik64rFAtBjg8hNI0PiWbRMLpRl9UWPIgNQDHRXnySeLhS457riXlxSZs8J U26+D9U1YJm7g9xRpq1wq9yfB4BxlxG0cMoAlbE1SfGp80QTS/wYxzp7H00ZJ0qXe3mfoiC4qK4F+ KvGpBIQg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfYn-00000004CLe-1oiz; Sat, 30 Mar 2024 20:44:17 +0000 Received: from mail-wr1-f52.google.com ([209.85.221.52]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfYE-00000004BsP-2BeN for linux-mediatek@lists.infradead.org; Sat, 30 Mar 2024 20:43:44 +0000 Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-341cf28e013so1995520f8f.3 for ; Sat, 30 Mar 2024 13:43:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711831420; x=1712436220; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=7VY3Dmu4EorH40eckWnwkm3etCmE+/q9rUNJeyLZY5c=; b=wAX4tTTjtyNyXfzxcNSIHlyLI0M7mL4NUQIy7+VzZdJCSPE2l2ocno5Vb8MddhGWA7 zSYakYYzFlDmYd20SQdYWIvaBQlD5o6B6ocv+TiQcvfErtnCWF2W5kk0xQz763Pp4xpK 2aSxQ5oErqKd3CPvxQ/IcbNtr2o3dNHuzEAaDyyQHwFOgjMnB6+me3Rvq9Eu/WfebBzZ 2dU4i/dbX5Dekg3r9Wg1oJvXUK23SpMDi7t9Zze95nm069iSpIak6MY52WyMOYcgHsdl 7KRU6tuiLDL8PoBL4KfxjThnRHSmsMb9Sy4NRKA9XWdT5wtDz7ZZvDSPbmKsQi/WRGJN i6/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711831420; x=1712436220; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7VY3Dmu4EorH40eckWnwkm3etCmE+/q9rUNJeyLZY5c=; b=pnd6AxVWOZfosPuOC9J8WyY9L/n1CMseng7JVU2+YvazUUE59C5lFwFJCa+L2T8Q/s 2J1NuC8MaQnQ29iTVENIi7eHcioCTSILrHnm842TA6qmqSPjpAyFOxYxF6vOwoSsq4Ta 4sjUr9+/6GjYMfoHVQDUlkvnRSQB8UtVJ296/EoniW2vFddt2lx1NxJG8ut0M4YaPjr7 yi91YtPUHkmxwpfo3Ewkdp90gGwG5TUqDn6MxHy/zJujbVURV8ZIEy1SKwQtueQgd+yx +Rz7Dvl7QtGYjy722I0LypqthFyO7ILRX+cTvR7iQrszLzbNV8up0E7jd//rJEVsvtbc PYyg== X-Forwarded-Encrypted: i=1; AJvYcCV5YddkBMdbqeaWT2wW/87sucUQGrc+624HBE0TyjrGYRad/BH3nGfrtjUZdTqKkeaAtXeZ4WjQaGp9UIYhvzuPMtny7dXsznJHHNqBI9AQ67pY X-Gm-Message-State: AOJu0Yx3WIFPAc7C1KI2swWSzi4oHgxOc3XxdD5bDip++lAFx74H7ku0 scxJawNyHTsvubulN/ythWj08JEbZExhfLgkWsOIC05KKeXBpk+KmuPMcaWI5rU= X-Google-Smtp-Source: AGHT+IFbOCs9TFu+n2kbIFtRw36Yy/n4grYGsiHavju/CpmA97FWAH4OFTc4Ow13LOgAlK4kyeKMcQ== X-Received: by 2002:adf:a38b:0:b0:343:30a2:3a3d with SMTP id l11-20020adfa38b000000b0034330a23a3dmr3563635wrb.62.1711831419771; Sat, 30 Mar 2024 13:43:39 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id o12-20020a5d4a8c000000b0033e7b05edf3sm7231299wrq.44.2024.03.30.13.43.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 13:43:39 -0700 (PDT) From: Krzysztof Kozlowski Date: Sat, 30 Mar 2024 21:43:19 +0100 Subject: [PATCH 08/11] drm/mediatek: rdma: drop driver owner initialization MIME-Version: 1.0 Message-Id: <20240330-b4-module-owner-drm-mediatek-v1-8-fd5c4b8d633e@linaro.org> References: <20240330-b4-module-owner-drm-mediatek-v1-0-fd5c4b8d633e@linaro.org> In-Reply-To: <20240330-b4-module-owner-drm-mediatek-v1-0-fd5c4b8d633e@linaro.org> To: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Matthias Brugger , AngeloGioacchino Del Regno Cc: dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=848; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=uAy7H4eGCdk2E7sc7F+qp9jeOr5X36oynpik4Iml/WI=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmCHlrb77pr3hI7+1RouTIhAWQ+29VPx2IGr5m0 aF4RIu/KVOJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgh5awAKCRDBN2bmhouD 1yUMEACHHdY0DRk43LPsx8K5J8nDnUK18mFIQbvuGtiJzvZikxyF3zwRok38O2UNaH5BC8WnRL9 SknXjkKjO47v/ExyECq7PZCAlGbVP1UUOGZPOmLwqprakytYugm/F8warYH7pyWbJlpyL6LMKb9 /7xmg/t2T7chRpKnRpchAm/6nmdpeInomU/50jeYZOSz5GHq0jQA3a94tyyOoojAXTpWGxhtpSJ LAqhvP33/QUq7MMfF2fbdorclE3UW7iUM/gmzGrUnQsrnl5SmBzGsspbn18ewr54P4a/UdyyTm/ q1w4UxOuC27FK9XMWFNjt3m/gRfTfEA69wJlVIqa8Ea7xjQeGkt3YBw8M2wg44Om97ykwxhCeRv CkNA/cTN/sMne1Et/eyRcUgT+nxHgVSgEMjQwYWHd8Jqxzu3G8P/oW1ZADpufAeMJg+aW0oqh/Q FBmIDXT2H6rCIR5w4SYctLhfgUp8C8AiTCUYlCxvZaQZY/QU7znvAbdRXQvafwNfzCkZ8fAQEP+ sAbxYfedxBQ4IPQTuaRa0/efLUFzBkkftsZOXfC01j8UqCg1N7DN7Es8A+TOsEasn83a5pqHTOG FgNcwKOb7b7dJqQopW9HrzSoDWRDhAf8RT8t+OQnWbEOGoYwQa2pBMMhNQKCBq+aFrD1c6Lg/xW 1XF3oPaEZT3NTlA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240330_134342_605823_32BEC1BE X-CRM114-Status: GOOD ( 10.48 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Core in platform_driver_register() already sets the .owner, so driver does not need to. Whatever is set here will be anyway overwritten by main driver calling platform_driver_register(). Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_disp_rdma.c b/drivers/gpu/drm/mediatek/mtk_disp_rdma.c index faa907f2f443..844f5c2b56b6 100644 --- a/drivers/gpu/drm/mediatek/mtk_disp_rdma.c +++ b/drivers/gpu/drm/mediatek/mtk_disp_rdma.c @@ -428,7 +428,6 @@ struct platform_driver mtk_disp_rdma_driver = { .remove_new = mtk_disp_rdma_remove, .driver = { .name = "mediatek-disp-rdma", - .owner = THIS_MODULE, .of_match_table = mtk_disp_rdma_driver_dt_match, }, }; From patchwork Sat Mar 30 20:43:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13611727 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E49ACCD1290 for ; Sat, 30 Mar 2024 20:44:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=KIExVlRuthKjEW06MrlFe0iZQElsYGeKhHET6Bz7z/I=; b=TklQxAKsat1ZGXvOzwLLLa4r11 /W8bAE1BewOIchVQsT4RsqflgPKSsSnAz534JRXmUTMh6sG+Eftdk29DXKY8+AoHClaUwFuMpLW7T IT3MZCbz5Jailm7Xv27AnuBXYrNLdRxtPOCG0k5WdtjxjOaoSzSeF9YdVU6KUH2CRPCebHFncWmk0 xlqwmLI08dnuClrfcnidPdXKv37oGWmR0Xa+X1qyRfgkyDbHsoRiJmBkN5xU5rp+6huIofs6g3+/G iPMjcE1R5Gw1zUNkhRoM0rxZP7U/Xfx4cI9xfyOh7wggDCJKFWPp2aEf6bGVwEzwa6gB9TCDb1Bgu YX0nLuOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfYq-00000004CNk-3rNZ; Sat, 30 Mar 2024 20:44:20 +0000 Received: from mail-wr1-f42.google.com ([209.85.221.42]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfYF-00000004Btg-2Mdj for linux-mediatek@lists.infradead.org; Sat, 30 Mar 2024 20:43:45 +0000 Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-341c7c8adf3so1993675f8f.0 for ; Sat, 30 Mar 2024 13:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711831421; x=1712436221; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=KIExVlRuthKjEW06MrlFe0iZQElsYGeKhHET6Bz7z/I=; b=B9h3sJ7S99HFcEtke6YcpUgUrFaw0mgnuzHZ36qLu0tO0fxus1z0ZvTsNSp57/faeW TKZCjXOjZlj/ZmdgHfuVJmxCgIyqKZBVWp6Na5EtfTfPKBaXxQDNpfeD7kmUFiJE155i /PjglQJ8rQKnFEo27H6u1yifOiXRcmpmICx3/BLSFZoeKDhwyjqbE6/a+5Ln+2cgfwIi WNUYtFEI4qicT0S4LCVjgrkPfrzffb6ZlOpK4t+b/20Y9AqtTGjhbRhvk+84z5TUcKbS 4sZJO97e37vSZom59rBFnwE+zWWd/ltyaSbBSXNN7MyUmJy3B+b7yggE5G450IscUkDT yC3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711831421; x=1712436221; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KIExVlRuthKjEW06MrlFe0iZQElsYGeKhHET6Bz7z/I=; b=TIlZyKBmDuTO5Ge0+UQMGuA8t+WdNWPYp8DW4ZmD0btFDT1b5TXn4Hj8vPTwfuVW+B VO5i/3qInTeOqUsHMeyLitlMGFCRbEHU5b2KL3tn+5+IATdKRaTs77coqtX2QtVJtyUK 4MZX+IcNlcFfE+fJaRvV3HpRPqDgWdo7j8VtZITVZW5RFX21mOi5y4yMDIy6b2oEIIOM 2VnPtdclLIhtImi3N5VwEQy5vcTTnIEUqt5QySUeIDqhO26HhDcXNQK0oLJ1hmgX/XhH 0mCVkVIjIKRbVQ/yBKW+rsUeNRFsyb7W8K+l6hDaflVenlEiQ9TLtXty0uOHdzI8WoF/ 9Opw== X-Forwarded-Encrypted: i=1; AJvYcCXm+FIQbmz0VajuZ3GLp05GDh5cSgEIRY2grPeJubGVBQJY1CuHsWWAKvvt+ApjVZ5db5JIeCs1uAEraoN5FjWAhRmZ8l66TMAHK8ypHIwu034G X-Gm-Message-State: AOJu0Yxnim08xSdXBWwIS1MiWRUaZoZlgkxghoYzd0LvuYKO+wKCccUK uEllYV8FUOANfN1odjl9vDwjjM9gFICKlA6v0CnGiDC6zrhpoBi73Z9rHLu+Q5I= X-Google-Smtp-Source: AGHT+IG9iuoUde1lAoly9jtwe67T5QJoT0i6GOQgmU6/FfQpixJJco2dyJL90gG9kOa3T1xDTvVHUQ== X-Received: by 2002:adf:e4cd:0:b0:341:843e:6e4d with SMTP id v13-20020adfe4cd000000b00341843e6e4dmr3393582wrm.41.1711831421105; Sat, 30 Mar 2024 13:43:41 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id o12-20020a5d4a8c000000b0033e7b05edf3sm7231299wrq.44.2024.03.30.13.43.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 13:43:40 -0700 (PDT) From: Krzysztof Kozlowski Date: Sat, 30 Mar 2024 21:43:20 +0100 Subject: [PATCH 09/11] drm/mediatek: ethdr: drop driver owner initialization MIME-Version: 1.0 Message-Id: <20240330-b4-module-owner-drm-mediatek-v1-9-fd5c4b8d633e@linaro.org> References: <20240330-b4-module-owner-drm-mediatek-v1-0-fd5c4b8d633e@linaro.org> In-Reply-To: <20240330-b4-module-owner-drm-mediatek-v1-0-fd5c4b8d633e@linaro.org> To: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Matthias Brugger , AngeloGioacchino Del Regno Cc: dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=817; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=gYuLLFBbKL2GTlBDQbb3uSAqyMopOooAltsdvgRD2hw=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmCHlrjXt3AFiYBCnjyA6IB2F8XUw/XHWVM7c8W LQ1OsJvhACJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgh5awAKCRDBN2bmhouD 15RhD/wJdwHVbjfn9rfbn1/qZXPJDRjD9Y/CdHrL3zlzjsCuWuN+NrLnzSMijduiHF5jRWWsD7e M/qUoK7ZFgeX4NUYXPwnSv+FgBr+FT6hbwz3k79heTqQK2CSyV/QrBmkNcXOdy2B/Q0L+UonRnm EhJcvOhvdT4bgYcU890eCarOpT0cgdqwTsazJ86Kt3ZqGTQ89iRxzxlYTJxbG8ysTx9kyO9whWL S+tU84AnkxG74cZbo0xPzkkE7o/Z4nUCgPcAchM0LBhvnTXRagikXGT0Dw9WWT265sNjSMzfHaG 1zndHVatcxz5Z4vYbekZb2KOV1gjaTJYoRcx1gCFw0e2KzSxf6DQp8lXnyhX7H2UzgqXpeDdnhD BQr2Fqx7Q45NbO5rjkAxQtqm9nxl7k8529Oryzz+kPjdgyYGLZJoZslxDXdWYzx2mZuK409xQwB XM8NCUWUNMuNS0QXAEE593gsy6PXgwgi/8jEkKzhExH2EsHD4dAHe9eYtZHdwZ2OiE5wUKGNPMN ZJQNs9NLukWNKuHLEm4nMmYm1Hy+gS9Vhu/8HU8HrX+wnM82gO/VcXF1qMzPvIXZLH5N3YGzu03 KJ0hkQRxKV7xEpxLP5PfimY6CMYKvM4PPDrb9FmgYpYwyPKr2w1vRg9NrD/DR5roEIMm0sMT3gy nZVnGFLIwFd7lDg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240330_134343_802517_43350F5A X-CRM114-Status: GOOD ( 10.48 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Core in platform_driver_register() already sets the .owner, so driver does not need to. Whatever is set here will be anyway overwritten by main driver calling platform_driver_register(). Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/mediatek/mtk_ethdr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_ethdr.c b/drivers/gpu/drm/mediatek/mtk_ethdr.c index 6a5d0c345aab..434ba8b055a4 100644 --- a/drivers/gpu/drm/mediatek/mtk_ethdr.c +++ b/drivers/gpu/drm/mediatek/mtk_ethdr.c @@ -363,7 +363,6 @@ struct platform_driver mtk_ethdr_driver = { .remove_new = mtk_ethdr_remove, .driver = { .name = "mediatek-disp-ethdr", - .owner = THIS_MODULE, .of_match_table = mtk_ethdr_driver_dt_match, }, }; From patchwork Sat Mar 30 20:43:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13611728 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3B3A0CD1288 for ; Sat, 30 Mar 2024 20:44:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=tE55+oHy1SdFZMDti49ppLTo/iHekalp6UeR7soZNdc=; b=rrMTtftjxZ21ihrqoZbfdFkXmQ 3RxjtrTd72XALBlZU/SAlIpnNiEe7/475iBuvu3fwgoz45pg4X5CjcClaobc1qEgEhX1qPrYtySWl FzHr8Q17Dd8tlzYg11EkfJuePqbJ95XMW+47Yqf5bqCbUKjamxgLrNSsx9KtmMiPDLn0hx9SeRzd/ yms6ZHOOnF2EW33/ZDKtGqNT4QG0bIcIjQ0Qw64Cnchhz8EMDd2KUqrUMlvGWBv4ZFtAjXzGVOGTf 4A/DxXdXLJd5ZYx0zP3kTbwlTL4MY2mRaMgGAjq3wuEXcZkAvV1c/CCA3mrqGJvSn2QwJREv/z87X sGF/U/Rg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfZB-00000004Ce9-10m4; Sat, 30 Mar 2024 20:44:41 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfYU-00000004C7s-3W6l for linux-mediatek@bombadil.infradead.org; Sat, 30 Mar 2024 20:43:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=tE55+oHy1SdFZMDti49ppLTo/iHekalp6UeR7soZNdc=; b=PpO/pkCm06wEuVnCr4YZBjW/nG Kd/j10D94A52H30ZF0inRIFY4OUhFKoVvtzHxuLRscuLsca+jPfxbuzLM3yZUuDmqxhifC9JQNFwo twOlSdGhgTMY88FKst2hNeFGQ08DopnnJNmCBmbSEqqp16JEDwRpwh83t+uKLe8MbETS09x3LmcK8 pc2GYvL3dWHMvzcbb82yius2/+ihYGh9zTKUPGszhs58g5IWFxehmkfHaPXAwi67FqblUk+cRFFgH IGFnGZv1yuYVP6kPo8s1JnVEgBDgaUuSPtMQyqatelKIfAK2XG8BHiDkiwA06Po/h+7zPghOrn1iU YdVmL+/Q==; Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfYG-00000002EIw-3BnQ for linux-mediatek@lists.infradead.org; Sat, 30 Mar 2024 20:43:56 +0000 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-33ed7ef0ae8so2005363f8f.0 for ; Sat, 30 Mar 2024 13:43:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711831423; x=1712436223; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=tE55+oHy1SdFZMDti49ppLTo/iHekalp6UeR7soZNdc=; b=UA/uxqVzhX0rDPtAfkFMWQzxA/7gnX7b5JxlIF3h0jS9UoQ/X1T4klxuJfmXbWQXjW Pk0Vqveb6iy9GqdPv6I9LBgTPKGNgCd6qZmv3+Qu0CqrjO3wZ/A5ZFrkUjXHGiynrg/q JaLwv9nb2bwTizeR76EMJJz8N4aEyLLkh3gS5uR5HvnPLpbAw7GSXOyQpc5PTrtmJyjk Kvw8+uC2a+K8K9V0A/Rcd0Ns1Ntw5Vy025ZL/1Ms/ygJ5yrCpwWEPOTJiTSqpFIgg6Ao oyrLD9aeGnhoYdZQ2YzEcibHZ/7XJiGuXh2WcRcSRN/CQPeivKsNDy54yCM1M5yNAa1V KazA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711831423; x=1712436223; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tE55+oHy1SdFZMDti49ppLTo/iHekalp6UeR7soZNdc=; b=QQRAKp4AWK7LeOC5wNhCTo9a37Sp5SiKqcd/SVWx5bhNqr4cbkrhcZKtLR7zK17DE9 aNdgcJXoJhjSJk4QVS+7lWsAxv6WXESZM1ZmsMoytoKckn+0Qto6l5K1wPetvHY8eXA/ QbsCwVU8NML/oaiNuWGzL+DqpQwxiMxT5gYHoUz+5en1MG8g0Px7latoYGNdbj7QgZXO Y70Qegb8K/FJLRrRjOC4RB1HiOXU3oIHXkJ+UV3b4exLPfTm7ZFydq4cXWWYsNNK+aoP V/hMXDmlbnKscPHmAiRuWEwoqYlradrSh4dqXht/46N1EP3ZhXytGSmFwcF8wdETxvwL VUBg== X-Forwarded-Encrypted: i=1; AJvYcCUgcUgWUJiwO7pRJggrAXp1ClfkhNDg6BUiCLKQanDWLtfZW0ICTnzupUdcp+IFLBgD3T4dGXtqQno5eALJ6NQqcfEZgKItp8Asqo+Z4Wz+cyrf X-Gm-Message-State: AOJu0YymSW29heWPzQGTpRKamVNtfEqTdPXfr1IpjibALNw++WoL2zkf XziMj6XqAHXgAazHm/xoABL0esFsZQW6mvr/a4ecOPmjjSnXO55By160eBbVvts= X-Google-Smtp-Source: AGHT+IGhj6aUvEDGcPyq+BIjFVcHMWr4SCkwY++xRHGQ99myAD65Sbm7IyItf+0BA4rNbjIYqK9HxA== X-Received: by 2002:a5d:526d:0:b0:343:3ede:c166 with SMTP id l13-20020a5d526d000000b003433edec166mr2587207wrc.68.1711831423068; Sat, 30 Mar 2024 13:43:43 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id o12-20020a5d4a8c000000b0033e7b05edf3sm7231299wrq.44.2024.03.30.13.43.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 13:43:42 -0700 (PDT) From: Krzysztof Kozlowski Date: Sat, 30 Mar 2024 21:43:21 +0100 Subject: [PATCH 10/11] drm/mediatek: mdp_rdma: drop driver owner initialization MIME-Version: 1.0 Message-Id: <20240330-b4-module-owner-drm-mediatek-v1-10-fd5c4b8d633e@linaro.org> References: <20240330-b4-module-owner-drm-mediatek-v1-0-fd5c4b8d633e@linaro.org> In-Reply-To: <20240330-b4-module-owner-drm-mediatek-v1-0-fd5c4b8d633e@linaro.org> To: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Matthias Brugger , AngeloGioacchino Del Regno Cc: dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=838; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=rma3zTFbs+wEApKyePcrne7HCkkuvoEKS0IhtWThFuA=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmCHlsrCBkLAni5OwOGut1qOb6HE9LI4wMpnfhf n1aFWutFbiJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgh5bAAKCRDBN2bmhouD 18TRD/4hW6BmN4P/LbhIRVJSb1k9TFXOIB9cs6FIcrKfP12OOg96bu9RGCDfqrgclJKkoX37g6a L9PgCn4kK+nn0LNe36FCIyVvSuEcjJN9+L8BKV4//9XSt2e51YTTAOftpHQiSmCZIqthA04LBlc AC0gnGoXRcbX3fcdFkDgX6hFf6ToGnJoRu6/X4PyBokuQQ8BR+Ur7uZam2g4en+JI/+7IfgMC1d k6yLqsyKDM88+tu3blzU62agRcLDQPd5grNTqJuucWoZst5v9o1yITxlmCGUiNjks5psg/+9d2V QV/tG0gWaqr88RwaN6qOg+vH3uaZNIJMs3PtxnwJXDsXeBTmOornUfpNoex/3dWoXvjvZKZLLk0 Hue2CNIzFX+YU72PMe3ISgRSb/IOl6Lcu0olEd0sHM/LOLM9kPAdXXwtFq19NBm+wGRZYlVDODp CcvzB6XhOHLs1favpokkW40O8N65NbEoElIHQcLVdNkdHglONyHACxOBTOjuB/1/ngkKDuji04h Uymh1ShYQZme+rKTAAPwB1fR7C7ngwGJSPo0hFr2z8tGWoQ+XK0sBiXPdJe8AnhkX9QvYEgoNdx qbJ8kojb6R3jVRU6pNebLl/QZn92wtkY/TvwuQFFjVmWgfj84VPb0dKfvozoOeHomg/XMHSqhiJ UB1nDx7vuAY2Q6g== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240330_204344_883839_2BD55F06 X-CRM114-Status: GOOD ( 10.43 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Core in platform_driver_register() already sets the .owner, so driver does not need to. Whatever is set here will be anyway overwritten by main driver calling platform_driver_register(). Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/mediatek/mtk_mdp_rdma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_mdp_rdma.c b/drivers/gpu/drm/mediatek/mtk_mdp_rdma.c index ee9ce9b6d078..925cbb7471ec 100644 --- a/drivers/gpu/drm/mediatek/mtk_mdp_rdma.c +++ b/drivers/gpu/drm/mediatek/mtk_mdp_rdma.c @@ -346,7 +346,6 @@ struct platform_driver mtk_mdp_rdma_driver = { .remove_new = mtk_mdp_rdma_remove, .driver = { .name = "mediatek-mdp-rdma", - .owner = THIS_MODULE, .of_match_table = mtk_mdp_rdma_driver_dt_match, }, }; From patchwork Sat Mar 30 20:43:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13611763 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A9178CD1288 for ; Sat, 30 Mar 2024 21:49:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Lytz4NRlGMjIcJpm2jggdQDN6y6/sjFypog/Jp0bB6c=; b=TM00+qMFseuervWg1tXjPbmBy7 iVMwfbJ+rMBuYnmfcC91zRHYvu6XSy8mqMSbhO1d+ChM3FPB/6RfLwrlVcKrCMmzsATo4tMc0OeH7 q/YbA4mkUuBhBofzqNIt+/icafiJ6p3Qy84wRL3pQ3t3fbsfd7J4+fbIKpb7QVosRinKh46GXEH2r 2+nM5w2pt7iOHkDuMuknRdgUraZugQam1mmKbrmEeLF3MfwWh4MbANGBj3vAPGDGe62qTrt9pS1PW k7nLnxKBk8bIphvuXJ+PZgsF3qIEov+o5FWTFcHp+6xaV5s1FmVZ1TLw0AaC0Ch2Bcp8HmBD6hSNl U9ZQ/oyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqga3-00000004JqS-3Wp4; Sat, 30 Mar 2024 21:49:40 +0000 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqfYH-00000004Bve-33va for linux-mediatek@lists.infradead.org; Sat, 30 Mar 2024 20:43:47 +0000 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-34100f4f9a2so2086854f8f.2 for ; Sat, 30 Mar 2024 13:43:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711831424; x=1712436224; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Lytz4NRlGMjIcJpm2jggdQDN6y6/sjFypog/Jp0bB6c=; b=yGOGOALtmpqALiYEdX6KFYntQSM6DXopF1B9SuPcKqjEXI33KsQvz9y8yJQuMPn0Yx nOAi5GZfRN4oycF0vCws0iQa9CDpanrD16zDTYyO0k9yfexc4pdTGDq5+HQdQ+MmXLeY bWVisUTLfxyU3vY9ulzlqthsitflIQRx65A35lmwp5zkWCcF3v3c0Dz1IEIPLjsF3PPH 4DHyH6SXau31DB2Fo9TC8DtQrAMw6br994g/aVtuHi+h6p7m1Eyuv59vI2UWVCpevIi1 NQpE/czXuxtK5EBImV9sdvm+4eXgoU2mGzq76uAg6RH1Vo2wbsupKiJrNGT9LSU84iyv BfDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711831424; x=1712436224; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Lytz4NRlGMjIcJpm2jggdQDN6y6/sjFypog/Jp0bB6c=; b=CJvMq4Elk6x0URDIYsum+pbMnAP1MzlbISBfPiRpgNNykULZqez1+E6eF2t/dMcPNk rsry2/wkrl6XOYSh04vsyyYlwu0hcxHk5abxbrY3u0tRiVejQcb03jgx9xuddOSunx2K TdIyKQBdGveDsJm0+/owKRyc6ajGzqTR5j5w21YRuKaGUvO1mlyAjjUTePnQUU+XR3He 3sFGXA5PNJ00CjdpkP6m58E8x+CQZGVV6Dn0tKYalxqeOIRqf5ipybVjcs4qLoxamP1k pPt8MaGoHlMqoSECtU9bKLyiAUo69zZwKovq24p0Dc9yksgDrDCnr+Z6LfNtm7lnzbYN cqBQ== X-Forwarded-Encrypted: i=1; AJvYcCWou4N7mpxGzSUrhLkUnaydCjrEIOvZjJNAhpbshu7B5OA76c//a0et0TaxEa06PzsXh3WleApjT5FdMMGcPKYc3MiOCJBnsDygKGT/kq/UVCiA X-Gm-Message-State: AOJu0YzPhiEn8qrf+FVfW5ygExUXNbBQQWWXHFAKElb6jENKD6bRjEZm +JveTTkX/F4FWXrBLHah9XuR1Xvc8+JFvmdkrrnWIpTZMdYg0iJ2e+mWzWuSXRU= X-Google-Smtp-Source: AGHT+IEmC+12zHWKXQrDYIZtxl1tMQr6URkl8P5NKb7hNbBHYUVheUANTikJ3X+pXT1ODg2Gi3mwIw== X-Received: by 2002:a5d:4524:0:b0:33e:d15c:3575 with SMTP id j4-20020a5d4524000000b0033ed15c3575mr3374244wra.33.1711831424325; Sat, 30 Mar 2024 13:43:44 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id o12-20020a5d4a8c000000b0033e7b05edf3sm7231299wrq.44.2024.03.30.13.43.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 13:43:43 -0700 (PDT) From: Krzysztof Kozlowski Date: Sat, 30 Mar 2024 21:43:22 +0100 Subject: [PATCH 11/11] drm/mediatek: padding: drop driver owner initialization MIME-Version: 1.0 Message-Id: <20240330-b4-module-owner-drm-mediatek-v1-11-fd5c4b8d633e@linaro.org> References: <20240330-b4-module-owner-drm-mediatek-v1-0-fd5c4b8d633e@linaro.org> In-Reply-To: <20240330-b4-module-owner-drm-mediatek-v1-0-fd5c4b8d633e@linaro.org> To: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Matthias Brugger , AngeloGioacchino Del Regno Cc: dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=832; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=YcU01k3+utKezOFHPg08Yx3HafMCGt2Hy8rvn4zmr1c=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmCHlt2ZfAYGdPMVaud2WYnO/P2J6dEJEhY9cF/ xWcTAT5AUiJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgh5bQAKCRDBN2bmhouD 185oEACByr63OyistUrAchRSUDePvLKUvea1pTj+6E4Q7EDGWgMV96qccpsRcfic1ckPDR8OUdl PAiUiqY3YBNXzQkXqwCJ/qCvhYOZwcfGmRuPXZxbQi3fKgESPqBLfjiJQ1ljMwhVZBu3Xqj6gJ7 Yy/KKaAroXr2oxP3trIO1SZ5EMnZWFWFOWVHxR72WFZ/SCVyIg4OWl7pG+TGjNeCKBDeV4pFkR1 xcQX9POwxlD7JFfLDz4lTzaPcrjHiyLiknsb+hMxWl8b2+cHB1WzkGEGwyYStobHvwxJJEVkOEj VX8lWB7SOcOy4S0l21nMtN8gFSgLu/q5/+nnaVHm+8XsTK+b5CYgV99B4wwCbl/2030p1xM+tBz QQIwisBM8DB0R/RpZuG809+9pqMP/7o1XLQb1IHFoHrIXOzxhNio97ZhXeNq9Zf05fTryfz7uPO aKxrsaC45FnvoOXNWAtfgLngEvqZYUkDA/Oo5WV31brU5NrYFx72Pviop4+SxbN0WoWHH8zvQCw ml47OAu+Mtq7XkbRX1tkb16TeMLByt2/vzM6HaB9ZGz7PRDkNXoezeUTDZoA9j5Ai5YV6FQzFhS FI8Z0DBbUYFcxKk9kGe34NLc20SdvfCCZBw5XFIMWKmNpHu+HSowyD5PWAMd1Xh56m38ZUGfThU jHlv1s/GNzDIitA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240330_134345_909466_37B10E9B X-CRM114-Status: GOOD ( 10.48 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Core in platform_driver_register() already sets the .owner, so driver does not need to. Whatever is set here will be anyway overwritten by main driver calling platform_driver_register(). Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/mediatek/mtk_padding.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_padding.c b/drivers/gpu/drm/mediatek/mtk_padding.c index 0d6451c149b6..aed84af5b9ac 100644 --- a/drivers/gpu/drm/mediatek/mtk_padding.c +++ b/drivers/gpu/drm/mediatek/mtk_padding.c @@ -154,7 +154,6 @@ struct platform_driver mtk_padding_driver = { .remove = mtk_padding_remove, .driver = { .name = "mediatek-disp-padding", - .owner = THIS_MODULE, .of_match_table = mtk_padding_driver_dt_match, }, };