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: 13611735 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 6D376C6FD1F for ; Sat, 30 Mar 2024 20:43:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B8D2510E507; Sat, 30 Mar 2024 20:43:42 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="kE5EF6CP"; dkim-atps=neutral Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1F31610E045 for ; Sat, 30 Mar 2024 20:43:31 +0000 (UTC) Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-33ececeb19eso1746378f8f.3 for ; Sat, 30 Mar 2024 13:43:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711831409; x=1712436209; darn=lists.freedesktop.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=kE5EF6CPwgQVlwx0CCCyC++Y4QAiU7kCf5owRkPLN3LGjaSaKoXNOKYU5EOJitCeYx W+j3jBLBtoxW1qQztXvVsBsASE5QFnOmOt/KQfaL0JeHBMCYbgXgtANXM7C65wD1ceMD K7s18NEUuijfReGxUx1SMMhfO8MniSDyefn0CKe5vrFIh0JuLX2DZdyRNlsAtnPhr7Ma fXsTqj7O5atyDxo603PMREjA06Kzz88a1SajbTw75NgzpSPHFkbbAbg+S1MR0xkKJq/x meZH0YPXfbTWl8fF4FL1E4p6niSK3ngoHf4liJ/fSE0CAK/ha5uy9K1N8kqYbMYA5BB6 PTUQ== 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=FTai0nonoxjtt7BWsijCh3eaXEGn8MM+mo86yKtsVwAEXycwINBiL3REkB+im1GBVF R5ajcWXhXz23KclG3m0yT7Ax1WWgYJoblUG7kWvXjnzWnWuhWfJHldIwa/KNmndqo6Yb C72yKe/kZZBRUUJVM9VJOp4N4QnYj+QElbEEj3aP44yd0otYVMUEd0zSbbuI+t+qbaJg wbxeMlcYeIbluzRb5AY6QVpIsjwdOBc1wlwW0AuuxEEOGZ6mUjLwQEw43jGUsMZeJmQk 9qOyWttq5Teow3l9rckFMQonVc3cOeIfWSFb9wJgIY/lGopN7IKSpjbpzNS87mVhCbUN rfbw== X-Gm-Message-State: AOJu0Yz0bDZXWK4TNCbp9Eba7n1a6SgRwSf7kDJz1q8xfL5a6CEke026 tBcsb5CavjusbTNRQ79KMs/dejjhRiVAopoEy9Ubg6gp7BGtHOaVbiu9aOXm0X0= 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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: 13611731 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 638D4C6FD1F for ; Sat, 30 Mar 2024 20:43:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D936910E49F; Sat, 30 Mar 2024 20:43:40 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="JB6V0xvl"; dkim-atps=neutral Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8524110E045 for ; Sat, 30 Mar 2024 20:43:32 +0000 (UTC) Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-33ececeb19eso1746382f8f.3 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.freedesktop.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=JB6V0xvltW8Sp9Yrw5dEgfrHQvUwAM3bBpfhmgE717HMOmsLaxznsWtHts5wLKjXvP 2XIp/kUrBsrIiVAKHv6i1tDXpOJcZxGjFN95yi4eZeQXcuIBOk/ciRy4ACYMyxDdGtH0 BqInRPiPIkUhD3GqkI5sI9hTzP1pAfTW292n4eZR0c3YRJlfsO4WRjYI84yYHdXYAe9j OhVeQT4nD1nBO2DeWQQBqYunDEaBHR8gLhkk54pyjXzKs9uZ31FlA4+pfmKdjCXHJPsN jfhqOmeUt3G5JXtoaSY3zca393GOPFLUWdYAtAD2Y8Y992YUOUmR6nOfnw9PQ1IqNCsf DY5A== 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=gIjyW7pxmKzxQwkZG1eypqZcqE8BX38D0fWS4z9sP7ZdkTwmhrlE327L7BxE9qlvMl Dfp/f/9H9g434AnesX/yXyvkOurFYhjDucYIxjhZd2CmmjwLL+2YUtADbQA/19gtIREp kZff1+BtuHtWVD2vQYD7mU+NHq6CviZW3VSxgh8NL2/LPQEkKgi5Jg5T/C/Q6z2rzWWq zAQJ2Tev1H8A6tzMVP9PskbJFI/rdL+3aycYD9DjSr6T6bfdAig6RKBP+sL7psMmL6gm 8ZydjN4sBP6BfLKKlrG+WFDnpoMh+oZ43alBAJW3wEBAj9REi0ZYQo6HDuLtaem2M4Ki PqmA== X-Gm-Message-State: AOJu0YwG5Xq3JqTTm1ocOaQWEdfWAnofRkrqikt8USByeGvp1f7h9u90 qVKuCKVGlKc3LzlPeKaGasPq/yxarTgggPqrA+ipi3HruzucqYirPpfsGNo9bZ3YyC1zIkAyfee V 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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: 13611734 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 018BECD1288 for ; Sat, 30 Mar 2024 20:43:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1129D10E5AC; Sat, 30 Mar 2024 20:43:43 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="snvgPpng"; dkim-atps=neutral Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by gabe.freedesktop.org (Postfix) with ESMTPS id E1C8010E045 for ; Sat, 30 Mar 2024 20:43:33 +0000 (UTC) Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-341cf77b86bso2033266f8f.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.freedesktop.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=snvgPpngkaqd1YAXywKce31DumAD2b7Dj8B4E/kFScql8qTnYz3H+jb9gOUVUA+21U V2G3tNhasRJ8To9gQRs9yA97kWT6FSkymYtjr3cC/XN4/k/yqDSvsy9RuHZt+cHLVKGo xylfSMF7dlRah1+jQzV8f6rGHbmp9mMxIluYcrPQKNmq1jHt7ldvipzPHCIIUtJAeRSC aKxHIH5wP6hH5iSTqKB0kAiLm5XVBHf/BKNZ+EubCy8AliISKVH7gemWT72nIsC7LhvE XDVxdBKOnX2QzWvQFBVilOi2pcEbKdcdEV9fpSkUMTdmUBkVxGJQ4R2ytdgyiROJPqhf CVPQ== 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=BDHIZ7Z/zXCmdsri8mFqxoMFMwJ2BlwIYn+6mO+Xg+8XLwRhSzzI5jNLDqLZEP8/Pd VltJChmfgFkZVFQK5E7KNXVZwMyVDaXv2BoWlw+V3qlZk1hxRt2waMg7/WZWgZNMoQRm UHJ6uCr/DzHCKR2Zlyc36v8B6svZqwaUe7ShR3wn0Cvzk3CRmKAMp2nBqq+E0Nm28Xy9 4NnyBSl/aIl9e2SUOgT2R6iTp6f2xf5ws+nQum6xkYr47LRNQ/7NFopB64h7AZ0wRIVf dZrmf5jw/k4i2C09HkOqyvRhkU8Uy1Zl0QmRJoDV7ADfsWcwgYpDlddkBHeLtYM2uCD3 wxDg== X-Gm-Message-State: AOJu0Yyhu60eIaJZRcAlTXm3rWJ8piziX8yCflL9nFJWbYMx4QcwvhE+ 2NdY4RkbvdttqZOGU9Hhv+thDdvdldOb9Mky+zDMciwsQSLFdrg3XvSGxn8k4x1nUizGgyuargO e 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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: 13611736 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 9A1D5CD1292 for ; Sat, 30 Mar 2024 20:43:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 58B5D10E5AA; Sat, 30 Mar 2024 20:43:46 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="K9mD8/4+"; dkim-atps=neutral Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by gabe.freedesktop.org (Postfix) with ESMTPS id 54B1110E49C for ; Sat, 30 Mar 2024 20:43:35 +0000 (UTC) Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-33ecb04e018so2223655f8f.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.freedesktop.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=K9mD8/4+krAAygG7qht3nYSCINVJZPZzcx/XdzgpuGl+2rAtQ4Mx485ypBf1z1w+rb 9YGW9XHoYES4pp0S+hSALkRdrPCgoHxKF9/UMrM79E9FBrooE5GT0kQoYxYtsrw/y3uN BdyPb3Urex8mKCHWfujvsIJN/peXGNNEXfODfR111eXv5KQfC3BaZ8Hb8jXU4rGbPx0t BN/b82eDPtmBzd4vSUHSJA4CcbQeSk5gXWZ0Y7RlqoMGv9cDMPTGJx3cxHvTXJbDnD87 166bnCB8kY6nrN0eyHorusC0Lhtg7oou6hmS4g2A/MA4ZCAxRkgR25f4RcDajsmmZnK4 xSwA== 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=rguqe/C8xCNg66i4pmv0Wq9fP0W8ra0r0EiiwjB/wn/GvFC1x2+xu/QHFaFdHSgmpl EvAi8kfrgU8vYMOKzcaBKGZR1lfpI/lF9zmV4lhQbouMxE8MHk+Qb8Jl8MVbCvxXs1ZY /Vo8IasquRKzIORzWfCYRGkhoVhVHFu6OS2v8/gBQRtYZRtKUU8yEMEOHou4vIoVdRsF 4nv3sQoEw3QR6oJdmXsn2po1lRmbwCSmp9KAOKhuVYkiie0mpMG8OzMqvPntdJFzzvPM FY6cJC0YggN1p/6+vhUMUCOh6dz/dT6szWBtA3oUo6+WjMXFTV5ROj8rDMv/3bdi4fVg rzUw== X-Gm-Message-State: AOJu0YzrAxXtvh4RC+OFTpPhKyXMmLPMFGGZmiAVJDQlpd8Bn6hQ/Auv JBxju9v9tdvc9KRolZ1y7K88k3XlGj+J0M8U4SN7jLYGQP/6sTTVoG1UeYHjISI= 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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: 13611733 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 36BF9CD1290 for ; Sat, 30 Mar 2024 20:43:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id ED4AC10E4FB; Sat, 30 Mar 2024 20:43:41 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="V2/ksnZx"; dkim-atps=neutral Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) by gabe.freedesktop.org (Postfix) with ESMTPS id C028910E045 for ; Sat, 30 Mar 2024 20:43:36 +0000 (UTC) Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-33ed4dd8659so2484537f8f.0 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.freedesktop.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=V2/ksnZxXNbQBsvD+wqYYbItDyP2FBl6FlkeI5DTk/skGVZ23+RphZc2TfUKSzz5Aw kQVVoO7c3oAEUiGHnSSOfcXANglVTa4XA49aAps0HSLWqu/x1lnMwZ7GDOLCmw8XxOhT xtfWuTKYAtW/hZNygIyh3ycQgj7ITiQKDbbNiKwUsA2lo/mkxRHkOl8UxwyuWv1r0mEh EZV3Ca8BFisllIXiWr/accvcnleb/cGNRGb6lkyd7KRgPni2c5bGoCKiYk4Yt454yS2R 89CSw0lox3ukY7Zwi5eqRWo/Jdwo9e2x7O2lmmR8jU0V0psb7PBZc0sICcBb7TSbNue3 GUNQ== 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=bqps8O6vsgzMXKR0NuGdjwVQvc0LeNUUiRD/U/uKhSSW1m7eKho3rsZLMoIo75bFYQ gKTAifi6wXghzs7vvmDeq997g+DHTmjKdzFINaIduSqKjJYo2NBtdCy7hp17y/lnWnaf DM0fSM+M/YnrbhmHGNG1c3yCNxxkOGjA5kt/GR94JtDjoG9wR0J7M9XQtYd+dzQYizWh OKhDKnS/kySr5pEQ1C3C2u26x1ee9tlHh0kO45rll8BGhGhdBAFrZaW2mKXt5TFFZW25 Sx1ELv+FTDOsFiRSjErZn+JFGVZVKBiWrTEXIIuYK+HZPNeu7WhBufDxlpt3hN+hlj8b /kVA== X-Gm-Message-State: AOJu0YxdVvsYFhrNJ6Pr69pHIG7Q8D+WMpBYmLtEvyfAcvtjwb5b44K0 KjP0mAgzR0Gvk9IXOFbVaktC/tWPD8rMD0UHYuOZFawonCfCfQCLBKKqpMWmOVI= 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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: 13611730 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 B1004CD1288 for ; Sat, 30 Mar 2024 20:43:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B0C3C10E49C; Sat, 30 Mar 2024 20:43:40 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="GgcwpO7C"; dkim-atps=neutral Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by gabe.freedesktop.org (Postfix) with ESMTPS id BBAA010E4FB for ; Sat, 30 Mar 2024 20:43:38 +0000 (UTC) Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-3416a975840so2330546f8f.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.freedesktop.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=GgcwpO7CftV5IhbYpAL5j5J8lCcLJ68CRsbb+724/5atJvBhSsNGt+pk2TkoyM7AWr kHu31Nnz5E0EGXbXOZwzkZVgnRQC15V6IMvtJ8elA3Pa7a4UItwlPYIPjCVglLIxL7Ya l2mTJFEE2Iq/yprYYbOoN9tsbHtTt3mgR+EfUMauqMjnQBEJHGxK6eaUW0F9C+Q5DBD0 TjuZdr8vXN0K5UUUxOX7pWV9XqyOordoeanEm6cVjNcieK3DO5yNZHEY19QGr6JS2u0E JEaQqlCNTw7kpwKcPURXo9wEcXAM++s/005d3EOJu9YeH7yxDM2Tq8OJVrUZwfTh0Ivn 6AVA== 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=dya+xh2/fCe9FDmA/vQOk6ZtPNEF3Rslvq5W5CaxkzEuc+sB354vc2WMn4lpew2PdI IoT5t5vB8TrjZTwRV9PKolKcZk5mSYO7fzG7yHA3SGyYe4a5v7wKtgPzKp5JjLM2ybFp AqdAFBGCHHzxtaxz8pz3R9rWGs5X+QUtnYD+VTGFtL31UB8pD7ut64hAWBcLQZTdjPxp cV8YhYiqDO0dlm3XEweY1t3W2YtYcUgmKT5+DqNnagBu47UdVhlfoKppHDFRqmuoxjOb gIKgjF6CS+/VRQreIp7+d8WGVpZONouKMzWYjsNdAG9IWfXBr7HqZC6fjRgz68ZYD40a m40g== X-Gm-Message-State: AOJu0YyiUTiaYWvVkC0e4sicPfGZkCybbQBGjq5Q3nDkTcVW3ofN9peK ri+5nkzQzGrbfeuOjdEKYOB/KitXCS8QOjH7VdyD0EAgWvGaiSKsJ9vwJ97/nCE= 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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: 13611732 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 5B783CD1288 for ; Sat, 30 Mar 2024 20:43:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B60CD10E045; Sat, 30 Mar 2024 20:43:41 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="nnOwR5Dg"; dkim-atps=neutral Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by gabe.freedesktop.org (Postfix) with ESMTPS id D0B3010E045 for ; Sat, 30 Mar 2024 20:43:39 +0000 (UTC) Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-3434275ad73so294340f8f.1 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.freedesktop.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=nnOwR5DguT6w+mMT7F6A1IvmZQA/qb21PJrrIIj4Of6dMjsyV6OIm/IwlsSjthrF+K 6L7yAAqg5bKiIzOEYYBdKJM8xhX2vAHc8SP+4fLJkiQLt2Wf3BEhmIFpQ2P4xWSho0ny a7aNB95kmgARTEUlKmSTbXFFvrXGs2hFMAhOdWJyE1VlYavfe0HOtRm1XzFJeZiIMR1W F66iL84mgJzPDDubHusCS2VvgnypIfp4dzsEkpJngVumYF3KBxZPZkwekK5yoHKzyFUF EmD5TT/0nLgnK/nlUOS1EWWiCMtytu5QQ4tGMqAJxCdYLqgGEAPYFC+utXsb+YkRU2k0 Sf9g== 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=UBzPR5EqlhVIIZkpsJPqvgUHrqt8n6IVljTchn78+flKOQlxbUwuZkJjLoNefscLdu WuJg8nUvnyRgHABaE8CHe0eq6KqqoevnSW99Slu07EjUgHpQJXGFUwYgWJLGuMnUdK+K kck5CUS6LKNC5dkt1qBHEZH6zyVgkpqPJH6Ve29jjqXlpIhX8IQmBbPwrhsoch6eZ8oh edaDhbkGyQOh73GWXe04HFaQeI3IE/XBSB+2SqjVVOC6Irj2YfukJ/XzPbubNCG55ATu y3pGC99ZOzvVYjLc9b0S/jMcamwFU7Ml+qjMGUB8g9BWeyC9evRVSyCk6wmdsPg2loyP 5alA== X-Gm-Message-State: AOJu0YzNFhDGDuRMkw9dxMSsA2mS7F1MJaGq9CaNYusEvcpJpoJzVdkM XK/XL9da086LWUVn2C+QY4NUaFoChy+legwT8JT56/vl7liHqS0dDiJf+7BDvZE= 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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: 13611737 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 22C8DCD1290 for ; Sat, 30 Mar 2024 20:44:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F2FA810E5B3; Sat, 30 Mar 2024 20:44:17 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="KoqSV+QN"; dkim-atps=neutral Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by gabe.freedesktop.org (Postfix) with ESMTPS id 41DEA10E4FB for ; Sat, 30 Mar 2024 20:43:41 +0000 (UTC) Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-33ed7ef0ae8so2005340f8f.0 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.freedesktop.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=KoqSV+QNu86QTsSPXex04DTFW4WqYYF7V/hjpUhe+71A7QrJ7ThW8clrdrCXY/0lXK gdBCY7hnTKp/dljsjvEFCIA/SR905+iLzI3zRQBMFfi60Q3vaEKcmCqW40hejJCQALlm efs/1vodeLhSooDYaplSMn2xtuzOwRAM6UBHcP9wbGQGJ/pSibL8fHwCAti1GTxtK9br uAd3ElDASMTKYO83xhwf2Y88NkzNCnzaoCEZISKp804cUOcPTYIw8Fpo/JXlJWrRU6VY zrtS5eIt7OKby2/eH2aDU97Sb7a5phjcz1AJvGlyoxEFPmH3bg8JhthscN0f9EeomdaS lsCg== 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=LBYNpacVYzSAHa+18oKHOqnAYKOlr8YEwmvyV2XYuFrlMPgE77cSM3yyTJI4zNlbHX TUEM33bAWEKumJQXVATGp2fGMlIlGOjGQqh3u/aLxfQKDVzyj7PpiOrmOnvq+tlvaKDp eqAvT2uxKX7J8uHgPI+DxjvFposLi9cBpoZZOqDL32NeiuJC08GBLRDQtKqDg+7ks6MX rhTBnShV0pYB6pVTK8ozGV8WQCoGMDOSzA+alGroqEXuFCp56IoPzkiNxrcYZRGhnyJt /qTi1YFjB1fhRfOAnnHCGK5peY881I/4IvWPpks1TZiyjsS0MWFAMtuhSBbMaiZvrd0L vlnA== X-Gm-Message-State: AOJu0YwRSJtkxbnspUm7BP+iAqE6/lQML4LODABXlijHEnFDCb/KcCSy VhMfBe/RHaiAlHfiukYX8pEEaC4hmMkUouyjJwuHl1ZW1hpOhy2GPwwWKXymFt8= 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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: 13611739 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 C52DEC6FD1F for ; Sat, 30 Mar 2024 20:44:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BFFC110E5EE; Sat, 30 Mar 2024 20:44:18 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="VUcTDIeV"; dkim-atps=neutral Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by gabe.freedesktop.org (Postfix) with ESMTPS id EBA5710E5AA for ; Sat, 30 Mar 2024 20:43:42 +0000 (UTC) Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-341c7c8adf3so1993674f8f.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.freedesktop.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=VUcTDIeVnnx7nRCjqSGk4RsVOZbHaJK/3HD3/yj7b24RszWAuMxNxImB5dRgTCdLXZ zdm/n2uNjJhg396cy/OfPoVX8VJCxhj91Bmi3/j/tZG6xPt/rW9EfMiAOn3wYoTGRuyH lKGpvgbhIpMJz1F0IAqWbKG2CgLO9fe2QEMyrHdfO++XbmbuPQlVLS9BY8KJetqgjvTD SYSFMvcTRk41WiAsaDPG0Bm2WLbbpsoec09GIxC0nBrqP25ugc3OrwXSmHQ7WK3w5qWI 3wqh5va1ZIE+L8tBjNcTB1gJibAdldLlUZEYzdqTM9EXF/d2BHDz4MMhjwgkQdquojeE zHMA== 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=A5Oaqjzefmbm6hEQEr+AjsdzSF8u21Hj/chUUvn2eJfdqWydxeVyPFrWmoK5Y1a3vZ nFQB144KNdDvFSbtVkTjYip5czhLunzwnP5tRvYuknffb3+4L02uyaXnrr+tf/j+VJsZ DlNgA5RmRF0TmvMPFJgtVZb+MQva8KkqOEnkPoctS5GeSbiB1tBMiGbjtMDYgwHs06FW wXNXZNnhTqZStc5RRLbqg17Kl6NJBn2X1ji7VHL1yQ4jHx9RqWduyTqj15oNTyIYrQcj YEYjo3mH/+LkaybUQatyn5WhFbZlZsJg1q0q1CVcrgIvf1FRtjKanzcmx3dFdFV6VDJf GO+Q== X-Gm-Message-State: AOJu0Yylou/O+HMVcMURt2hvt9ksVI8lcGNEr8odsa1dLptuszMhL0V8 ybMLaX/Cuhdbua0spddSpbqICEeR/PUtxI8lL+QshhwyFXSQnoCfOFrf7N4+Y3k= 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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: 13611738 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 8B154CD1288 for ; Sat, 30 Mar 2024 20:44:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2458910E5F1; Sat, 30 Mar 2024 20:44:19 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="AhwjF26m"; dkim-atps=neutral Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by gabe.freedesktop.org (Postfix) with ESMTPS id A62C410E5EE for ; Sat, 30 Mar 2024 20:43:44 +0000 (UTC) Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-341cf28e013so1995549f8f.3 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.freedesktop.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=AhwjF26mduhscif7Vhc0eM+6aUBvoqX62b5gNACZ5xPm4Gi/Zf98HTQalNckItZzt5 vPS1zE+SRdszjufNPFop//NM5vZF4VBiJqYgTjEMr+ACOKA3prmhNovhMtAn8lsA4W4W 1l/IQL2usdyVSUDlh0eSFdzsXXC0SNwCjmVuh2tSnr7FsJbFlfXsd2SMvCa+uyDEPmWj VpM0Gd0+w4zSYJ30xqBvQs7bTULnYFOYGAWfarFiXcVuJo7SQMOSIQwjZH+ZZUCLjq9w Abna1Wo3UyoNy7DyMn2G0FbIxyBdbbVtwek9atrNOmnJg8emGFy4a9pNz48THOPixcro x+mg== 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=xPR2xXx9wlyd21hkVFyDQR7U1OYsSBaH3Hm0C+MjxNpy5JH42YSP/pUW+lNpAET2c1 5A6vF1OuzbbWZ8jl9MG5Du153fyq2UnY70OL0tSlRISTcaMgkDWG9KSsPrFWonRCRtoo bX5kybX0CQbEhv0rWMCoUkP2rtYFjP13gBiBxv97gZknPM63RsmVZwgDuTeawkzJuIP9 /LkrKfXMu0ZDM2/yNPBNXMAiJ2k2qMZduZ2an9KmOPy4+DVVQvdt0XQ8BNxD/gCaIuNW 8qE51jcSewZtOtT2VSowc7kg2I0jspTk22PxbttETUAY8Y0bYSgHwWc0meQazDBicvLk 0kZw== X-Gm-Message-State: AOJu0YygNkoVmCSR2g4orDIbSF2wBsmIB+cMUqhyj6d3QGGhW8VcA4cq fWQ4EtwUZVL9bxwQWRgZ7c7Y5kcD0Bkw2CUiCm0rZhaFizDMVXo17n3nJd55k08= 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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: 13611740 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 5954ACD1292 for ; Sat, 30 Mar 2024 20:44:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8474F10E641; Sat, 30 Mar 2024 20:44:20 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="wW7vUXmi"; dkim-atps=neutral Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by gabe.freedesktop.org (Postfix) with ESMTPS id CB8BE10E5EE for ; Sat, 30 Mar 2024 20:43:45 +0000 (UTC) Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-34175878e3cso2250927f8f.0 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.freedesktop.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=wW7vUXmi548ewik/q9A/a2vWAZn4Lnpwk4x1AboZkXt2CUG6VYB5Rzniso50cCsKv5 5OoyVUImXULT9MDvXbKOZSijBY43KrFAaSAVAwz/FteYy1y8qZ7PAR1I1C0vFa6Zd/ff rPpjjxhq7mPSoF3Wo4k6j3XyUjj5Y0HwzjNsYOnDVtu+N7lmDSBk1q3yGB4eH7stu7Dh b1DoM7t5UfKBmZaC1rUIDuMZ6xLPTuB3DYYWIhUmXazljGsVcCelm9d7uyZvC/G4jYIK 5AWqUFjxnSkGmCHQAKYqHAf2Fs96o1GTis4RemQuOMH0eNbclT/lIVW5D+6VYp60t95U EEow== 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=hev1rKLXppGxfY3iOopuTV8dWS6/C2UlrxXw3z7MHQ9Jx/LGWsU2szlWGEb3rLzS8s ZVRk43NzXxddS/DXvmX9laZE0WfXC7oXgIOBJrCULQULF7uev3Yk2h1/ZWFzynaVTkjL E7liIJiNO1p0jhpNQF0G1qU7RG+mo805TOKDNg2lxhjNDSuIjUhDxvsDccgxizzJqoIZ WBhUMWxS5qkBS8u11aDJhvvH1Qolbtz7wJAZa1ZS1YkuymzXP4xswarVehOdfPLuoApa CuKpxFlEmjTt+ntEvOXYjMy6hA5x7YIf8i1F4z8681FzmMu1UFM4DXP5B1+XrgtGEguf KyFg== X-Gm-Message-State: AOJu0Ywd1NAErzKa4qRrVnKNBzyh4hIdGibH7TRNFo2/rAkISYzv76zp cFpMKztSrRNpibhr1NDHq21kkDPZklnx4wDaSaIsXZikvMdw631xWnR5Y+PGzfc= 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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, }, };