From patchwork Wed Mar 27 17:47:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 783538 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8CC901514C7; Wed, 27 Mar 2024 17:47:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711561664; cv=none; b=mR4IwsWQ7uY3VWYQAajPDhix7ch9FMBiLla0Wp6HwBzODx6WIEkIY+/S/gHcPGBtA8GcMXv0OymjW+z/Ud48uqXmzxIpgzArbH1R5fctLQdqVa+7goGx8elBAs4nIBVCry4NIDBBHdPv9whm6JtgiuDAmbTgXuvFE+K2njIv7Tk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711561664; c=relaxed/simple; bh=xP9FydB8xXIWXesRFSB+5DvWHbO9DhVvtGU1jGx3NU8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=hZCKhfbn83TZpGx4frvHVQ0vDPiko4H98tiDzaKpFkPGnN4Bu0arJ1L5+tEvkNhq6FzoCwlh7KquET8MZrnzfYtWfIFIQBT4Ra+5rPL3W1sr7rgaijFMz8dsEqTmNI7rAwGTkLR3nZbfwnmsgcnV2KinnVjmoFcUjISF3y/aexk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 104F3C433F1; Wed, 27 Mar 2024 17:47:41 +0000 (UTC) From: Krzysztof Kozlowski To: Mark Brown , Vladimir Oltean , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/3] spi: loopback-test: drop driver owner assignment Date: Wed, 27 Mar 2024 18:47:35 +0100 Message-Id: <20240327174737.519637-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Core in spi_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- drivers/spi/spi-loopback-test.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/spi/spi-loopback-test.c b/drivers/spi/spi-loopback-test.c index fee8893d2751..31a878d9458d 100644 --- a/drivers/spi/spi-loopback-test.c +++ b/drivers/spi/spi-loopback-test.c @@ -396,7 +396,6 @@ MODULE_DEVICE_TABLE(of, spi_loopback_test_of_match); static struct spi_driver spi_loopback_test_driver = { .driver = { .name = "spi-loopback-test", - .owner = THIS_MODULE, .of_match_table = spi_loopback_test_of_match, }, .probe = spi_loopback_test_probe, From patchwork Wed Mar 27 17:47:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 784742 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F25B71514C7; Wed, 27 Mar 2024 17:47:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711561669; cv=none; b=Tu7hn+Q3MOhq4edvTsCz26/Gr5OBc88B+h5eS+wfJSE3tP//M38K9l2IOYb5ePIgcXm+hMR/G24Wy+uXYJKfJ/rr327dmqp+2AHjJ1DxxrDRx/+qWh3QlniST/LNmHTQ+Z15VjSMd+ogoFtMQrARv1xxtTkKD5DXqiyI77z4x+Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711561669; c=relaxed/simple; bh=WeQzKgxc8dKZiZ+6T0aVNEq+iwBGVNSfWWV2RgoHaPk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=qbpc+T3wnFJ9XXLiAxHxTRnFanuyUcuiyEIqGTlJiscWgnAbQgeviRIwDG0bB7bFH92iRAISsbn8AaVRo8/GDb5b6sK3wQlAwIjDMXRhUw9IPN3VXbGInJZHW1uFBPv/l0J8trmFY3FfJ0QIjBSnaQzeHtFWQMFpvVQTK/AdhJU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 41E8CC43390; Wed, 27 Mar 2024 17:47:45 +0000 (UTC) From: Krzysztof Kozlowski To: Mark Brown , Vladimir Oltean , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/3] spi: coldfire-qspi: drop driver owner assignment Date: Wed, 27 Mar 2024 18:47:36 +0100 Message-Id: <20240327174737.519637-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240327174737.519637-1-krzysztof.kozlowski@linaro.org> References: <20240327174737.519637-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Core in platform_driver_register() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- drivers/spi/spi-coldfire-qspi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/spi/spi-coldfire-qspi.c b/drivers/spi/spi-coldfire-qspi.c index b341b6908df0..e83cd0510f20 100644 --- a/drivers/spi/spi-coldfire-qspi.c +++ b/drivers/spi/spi-coldfire-qspi.c @@ -500,7 +500,6 @@ static const struct dev_pm_ops mcfqspi_pm = { static struct platform_driver mcfqspi_driver = { .driver.name = DRIVER_NAME, - .driver.owner = THIS_MODULE, .driver.pm = &mcfqspi_pm, .probe = mcfqspi_probe, .remove_new = mcfqspi_remove, From patchwork Wed Mar 27 17:47:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 783537 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2F3FB1509AE; Wed, 27 Mar 2024 17:47:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711561671; cv=none; b=YdoEvssdZNGvSmIwk93amOaS4d90h/aeKkk0jX75471Hxwckb63MWTm3uIzA+C/zp69xeQqIeoQUDCcCrBTu9usUK90V56eSWskIH0/dJUjb1ZbdnVmAL1w0IGkSnfqAjVAOFwJaC7E/IUVCkwuXfCLTP+DMVe4DVou/qtjoISI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711561671; c=relaxed/simple; bh=xjLWHNxPPqvtq4hDxG/01PcuOt2wyTvdwe2jE0ankYs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=VrK+fX+K5zE3NG7rPK1UhV3EpD3I32kPC4CUrLm0zEk58v68LmXLfV/pkvF/rQYtXDWx1W3RByikQAMb1cDfWa/0lWpVugpkaHMZrpgpaGau6oB6gKbRL97R8qo5XFTSWUi6OiWzgrrCPSJ2azjuAJuqpTlsegEqPM0E6HYrdJo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 38F91C43390; Wed, 27 Mar 2024 17:47:48 +0000 (UTC) From: Krzysztof Kozlowski To: Mark Brown , Vladimir Oltean , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/3] spi: fsl-dspi: drop driver owner assignment Date: Wed, 27 Mar 2024 18:47:37 +0100 Message-Id: <20240327174737.519637-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240327174737.519637-1-krzysztof.kozlowski@linaro.org> References: <20240327174737.519637-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Core in platform_driver_register() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- drivers/spi/spi-fsl-dspi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c index 38defdcf9370..0a2730cd07c6 100644 --- a/drivers/spi/spi-fsl-dspi.c +++ b/drivers/spi/spi-fsl-dspi.c @@ -1458,7 +1458,6 @@ static void dspi_shutdown(struct platform_device *pdev) static struct platform_driver fsl_dspi_driver = { .driver.name = DRIVER_NAME, .driver.of_match_table = fsl_dspi_dt_ids, - .driver.owner = THIS_MODULE, .driver.pm = &dspi_pm, .probe = dspi_probe, .remove_new = dspi_remove,