From patchwork Sat Mar 30 21:10: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: 13611757 X-Patchwork-Delegate: kuba@kernel.org Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 928713BBC7 for ; Sat, 30 Mar 2024 21:10:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711833031; cv=none; b=aLktRl1KDgxoJmfO2sgo6KOMHyelT2+eO+LTIB5KLdPEpUAi16ylMHNfCi2YLhHTDLmFBUZCx11fTj3Vk/NmaOxn4Yy+nBBD9iP0ozNUsSzymdik8r+lHy993Yck2vxgQUIZBvhQ4v0x3pKhx1xYE+3r7YqXLOZ9w0XyKRTVwAU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711833031; c=relaxed/simple; bh=5cyk0mZPWqkezr+FTKCeHWipPZpAG9tXQ3TzxjeoxaA=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=H8Xowd4NXVFFVNAkqLaY2Qkgugi9JeD7GNxA0JehFyxlt63guA1ZGjj/alCZ281ENY1ca+ZfgoWia2/BycIciBgnt8GubRPzSvPNaxFhon7h0IA69pdd/qLPwrwYs2JN40+yJiI6jckGb2np7rCTawPdx3X/m8xbJAjkw38PgGw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=HJKucHwX; arc=none smtp.client-ip=209.85.221.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="HJKucHwX" Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-34005b5927eso2171900f8f.1 for ; Sat, 30 Mar 2024 14:10:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711833027; x=1712437827; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=kLkpmExOlKMcwACsZsH7M7SlZKO9kCP3VlHAwHc/QRU=; b=HJKucHwXrs4b+FQTF6hdlAYPCdImzzrwtKGc8WsGB3iqZORS5FZiTchupghwbi6xhW nH2y5k70ij9tBg3at2AB7dFP725wvz3R6/IlSOX9rnO6kffq33CUA9Ah0e7w4OACxwJF t+zxZmzHsxz6iW91jVortuqf1UbzccU6ZkTS+PJsVnU6DjYPP4bFXbE/XEPYhfmC7bQD 8Oe45c6tRKF9FfsKAL0h1ZdVFfjXPGX+yOCEcOXsW25gVCO7OVqGdAs1HZF066/XdbCx DAw5j6aDvhV096NR6iMdpR8R8vnFO1pm+fVLUTKX+pDE9Sog0XM3gmovmBpUd9Re+QcM x8RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711833027; x=1712437827; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kLkpmExOlKMcwACsZsH7M7SlZKO9kCP3VlHAwHc/QRU=; b=MfvuAXquBv6NrEmma1V4rinXIuoB0uwf/arhSCOlhuu8R7ZU/Fr6kfq5bFj64QPx/8 NZcy+pI4T7C5nfBvvbolfDHuvhMi6zvnx2ZNhlA/GHure2VRYXAiwAgxMyMdxqHUaz8P Px9gk24PUUS1hbMOyym2T5Y3NgNwdgBaAmgq9MS9AmaB54Beqq3Au9bMHL1siLmj+tst jxGf49OgfrvZgq5mEcUWJfYAwtCINNT0Tgq1F1SnnUkC2t0NC4lihD9SwJ/gS/Ez2Jq7 YFXErDuKQnTjYW3fsMWIbFt5a5VoO9fBxdi9NDD0hp42XjfA0qOAGxxrh0so8D+SifqF Q4Yw== X-Forwarded-Encrypted: i=1; AJvYcCX0tviT99vDJ3Ff8bv+rE9a+gRZQ0FfTVMhbcnPDryH8daqhIcKbZ7fchphprxFEZeXQgLVxtTQf2YgjfHZ0RVv96f1dmXT X-Gm-Message-State: AOJu0YzxgDTxtYzx7jD1TiYpFQ46Ya8k4ZlMXwARwZO84vX+50jr+HVR 01y/gkugKlCuc9sPwW+OXIVqa5xncHlSA5XEixYhfaHDNvfNTYXPpre96RFG+Ck= X-Google-Smtp-Source: AGHT+IERt4faZXoAKcqd32SoGypbspZ5AI2Z9HzqC72LYU0X3G22k6IsrcxS3SxIiC2LoT6Os1c6mw== X-Received: by 2002:a5d:5222:0:b0:343:357f:6650 with SMTP id i2-20020a5d5222000000b00343357f6650mr3848599wra.45.1711833027100; Sat, 30 Mar 2024 14:10:27 -0700 (PDT) Received: from krzk-bin.. ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id f12-20020a056000036c00b00341ce80ea66sm7288097wrf.82.2024.03.30.14.10.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 14:10:26 -0700 (PDT) From: Krzysztof Kozlowski To: Woojung Huh , UNGLinuxDriver@microchip.com, Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [net-next PATCH 1/2] net: dsa: microchip: drop driver owner assignment Date: Sat, 30 Mar 2024 22:10:22 +0100 Message-Id: <20240330211023.100924-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org Core in spi_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Simon Horman Reviewed-by: Florian Fainelli --- drivers/net/dsa/microchip/ksz_spi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/dsa/microchip/ksz_spi.c b/drivers/net/dsa/microchip/ksz_spi.c index c8166fb440ab..79ae01507a8a 100644 --- a/drivers/net/dsa/microchip/ksz_spi.c +++ b/drivers/net/dsa/microchip/ksz_spi.c @@ -222,7 +222,6 @@ MODULE_DEVICE_TABLE(spi, ksz_spi_ids); static struct spi_driver ksz_spi_driver = { .driver = { .name = "ksz-switch", - .owner = THIS_MODULE, .of_match_table = ksz_dt_ids, }, .id_table = ksz_spi_ids, From patchwork Sat Mar 30 21:10:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13611758 X-Patchwork-Delegate: kuba@kernel.org Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 39EA82AF13 for ; Sat, 30 Mar 2024 21:10:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711833031; cv=none; b=WrQhQxRo6DfULhTj6TsCGB6LofQfoBuxDCt2D/TtQew1L1J8171bWygFIKyOoQr7jolBlWGKRWWQL6Mm1ZSXEpIyNFS9d8CikM9Ato82v4bA52dusuXprGdxVA3QyM9KyQrsK9krR8oRQ18Etl+x9HAcK2/rNyWlmgujRB9Pkcw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711833031; c=relaxed/simple; bh=lpW/z88igPmtu+dPk6Bg5/M6be2ELRWCA4fiw4xQTvk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=HS1sar1YmDqu1EiUhLsWX/F2qG+ZSKSVVh+BSA+y2eCEt8wgmoH6EJ9zOexB4dWkyFhGQqTnvcW2fbygrJDhDG875bRm2eppfhSCtuoKGGjO06HGP0lMNqNrLmjauiG/vzXcvf4flhuFdNGGG2951cca1G1K2F1rrX2aoNYOPro= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=lmT1BZSV; arc=none smtp.client-ip=209.85.221.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="lmT1BZSV" Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-33edbc5932bso2153952f8f.3 for ; Sat, 30 Mar 2024 14:10:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711833028; x=1712437828; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=z97AIqHn2/5k70KD5v0TW9sEzFkZvtBMo+aOjA2W+M0=; b=lmT1BZSVVSPKWGgHfiytoJ+Ofrl4SkHaGZqmtLrRr9Xtp6NWN1fSkkfDwoAbSdPKGU 7iICPbSYSWkoUys1nOax8ZNlxpQfq4PQJQ4TymEVCw3PkJzQTsCq7v7Undarn/f2KJj9 ZG4QV60NcMb/lSCxXyT6TtbE/T3KI3GB/GjHWCbpmLOwf1Xb6WgjMLkLJ88lBAMR3Vur CTO1dryBej7ge6pn6C0Ijq3VRNqgK7SDTIyRth+3AeL0ZiRSUM93anFDVLadFESufJPL bPQQDMAzZMQiOF9PaZz+2bEIT1afJiAv9xX20LWUpM+NNBMnbp5GWBAf9our8hpGlmtU k/IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711833028; x=1712437828; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=z97AIqHn2/5k70KD5v0TW9sEzFkZvtBMo+aOjA2W+M0=; b=Z3V/da6Xz3DRp1xb2kWJvS4XMbNXnBs3jNIiApzfHCED05rvbFlBzMG46PmYth9sgO +SvEIZGIjOMJ4yHJTqFIvf9K4xFIfssfD8Fq5Ib8PzmyN8ahKgBdVbDKrM8Gzi9Ujp8H Yj55CnL6Uc/WHdSnI2bDfW28ZKFHjMFpJH+aanyiUtxtzf9OkFvm9Sm6GbQNlJccCz9+ Pe7IczzArNBu+gADF538Ynxg9IWJQIvizj/AsaOSVma2Hgr+nB4CKFQXS25GD9flxh/U xN474rnGNVBCjAfhQoLXjz5PHQrmKoLdmYYD0OrxhiGUPy3FVvYv4fz/go1DY9HuJsaF DBAA== X-Forwarded-Encrypted: i=1; AJvYcCUOTrI+i6c4KpEmf2l6yQ2FBhPUFcqZKLVGzCKLZrjWBIbfBuFG2Pn9O2Q1s4+aZAxdvd0qmTRY2CJwUU9hbjJtoC4QlhNe X-Gm-Message-State: AOJu0YyipnUvvoL4YBTQ3jANCs6RsHGG8mK0cx4Ss72Fj2Lhl6zkk2OV zQQain5LobUn1FL24TAHzy3J+rz3cROArg3/5CIXmctNs/UQ1R4czd/2Q27h+3o= X-Google-Smtp-Source: AGHT+IG/PwnuOG9GW/J71lWsyeYoc0pzt0O0RZTv5vm8EGRV8pODCFgM8sdpdU3qeNoyycuNuSNCcw== X-Received: by 2002:a05:6000:4009:b0:33d:6fd8:90d3 with SMTP id cp9-20020a056000400900b0033d6fd890d3mr5016445wrb.4.1711833028607; Sat, 30 Mar 2024 14:10:28 -0700 (PDT) Received: from krzk-bin.. ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id f12-20020a056000036c00b00341ce80ea66sm7288097wrf.82.2024.03.30.14.10.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 14:10:28 -0700 (PDT) From: Krzysztof Kozlowski To: Woojung Huh , UNGLinuxDriver@microchip.com, Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [net-next PATCH 2/2] net: dsa: sja1105: drop driver owner assignment Date: Sat, 30 Mar 2024 22:10:23 +0100 Message-Id: <20240330211023.100924-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240330211023.100924-1-krzysztof.kozlowski@linaro.org> References: <20240330211023.100924-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org Core in spi_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Simon Horman Reviewed-by: Florian Fainelli --- drivers/net/dsa/sja1105/sja1105_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/dsa/sja1105/sja1105_main.c b/drivers/net/dsa/sja1105/sja1105_main.c index 6646f7fb0f90..fc262348a134 100644 --- a/drivers/net/dsa/sja1105/sja1105_main.c +++ b/drivers/net/dsa/sja1105/sja1105_main.c @@ -3456,7 +3456,6 @@ MODULE_DEVICE_TABLE(spi, sja1105_spi_ids); static struct spi_driver sja1105_driver = { .driver = { .name = "sja1105", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(sja1105_dt_ids), }, .id_table = sja1105_spi_ids,