Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp744244lqh; Thu, 28 Mar 2024 15:19:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV4Utt6WNWFRJpT0Ri12mVkL4l0yWhR/AW04vfICO52Reqv07TOnNKSN6ltxbNnsZd+4JmrY4Pc2i6sfq8IRE/aIUebTcyv1ZFKEEOUIQ== X-Google-Smtp-Source: AGHT+IGjbW5P9pZNonCxaq4VEfUifLhmJ8vN8jg1xPfmfKqv3Yf1XK7XU+YRrO4owt0IsiGs0fbU X-Received: by 2002:a17:90b:2306:b0:29b:7461:51a7 with SMTP id mt6-20020a17090b230600b0029b746151a7mr1007917pjb.23.1711664383253; Thu, 28 Mar 2024 15:19:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711664383; cv=pass; d=google.com; s=arc-20160816; b=uB9aNu23GkTkSBxZlBfH4AEKl0aiXDB455fFqs0fKWF3iAlDH1crPGmeLe7mwZZftZ tANntJz9GMoS9i2y9Nx+w76e2DVnv3FjQXSSKRHnOgdh9Q58y5nDn1WHKeQHxp7h+dCp MuB5ycdBINhq5ZgyA3plq1WNy00sq87N+9vF5H4+NgAVfHjQn1PDr2A2D71zNysqyKe4 aY9ebyZ/fbCJrd1xX8TK382YikIlAqfAQBTCF/wZS4TyJSz+mwQbeCTe2RVOyvpIxa2e uK2f1puflSX3UZopZG0253WVAzPu2qJUJaXGQE0ogeXdCtFkmfvuhSIlq4J0cx5aQgi7 kzIw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from; bh=KoooTXkPwZXuzY7g3DdvoGrVIieXnZgpStG1IG7jofI=; fh=VUTzGrpi4zjzooXQAKSBgCiIsLFwNl+jN7PdJ201fGg=; b=iRDpte/A6f3/hpNrJJ3HjjhHmWld8eVJNHcoDh8+RGw1XFrU6G7ZYKr3o3GjnAulel N8agpxkI8p83qZLpRU2RUOD671YZdwegxu6zCEIq06V5mHjIZEgGGfY4IjOJDRKc0OYZ jvOlrDrpSug9hSmOyj7QXTVpG0+SLw+jeaABP9HXglBEDCPXVJH/NzeHzVB3w23PYwR3 /thx7sbstIaQcpVCZJozqdxbgE5arrcesfvceekbMjcB+lryQvxZFPdyjiA/SyfmSL5H tjFA4qsJSLH7g/nJJ/SoKHXQUc4USWGqRg3/lR0rhGPuYJAhxBrZZx416qb7isPFuoMY PGBw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-123754-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123754-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id y6-20020a17090ad70600b002a04dbed2c6si4359732pju.131.2024.03.28.15.19.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 15:19:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-123754-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-123754-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123754-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 199FE29ACC1 for ; Thu, 28 Mar 2024 22:19:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4A5051494D0; Thu, 28 Mar 2024 22:08:12 +0000 (UTC) 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 BF6491494BF; Thu, 28 Mar 2024 22:08:11 +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=1711663691; cv=none; b=EfkYQSmHUzCpTE3p6FEYLwFOZSunxRZuhBdEdxhEpD4xtium/l07A2I3x8U9OTYz873yx+c2iAkcmtThTosbqhKYTkAiVBwR7+4zg5t6fE5JI+3UeY3mQyydWZ1b57Ie+R+parDSNjlV8lPqxYY7XzeVCcpw2XRfxERaG2ceAWg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663691; c=relaxed/simple; bh=zQLc857Pt+hekczjRNz9Vs9fdZat2RkxZijifeCJb8g=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=aEJRTqXDu+UI7FvDIWmm7xvk8mT+jXay84T7Iayc9ZTnDyLdN18ruERx12aLnQCzEhRdXsM6+4RKyVGd5ZoZbtcKeJesrO6oueC7rPYNokzZR6L+8YXTzRbLDEGyAbL3pYjsguPjpv2BBJCpC3xMCTeoyjBQieyJWBdZdmqO+fs= 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 8E818C43399; Thu, 28 Mar 2024 22:08:09 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:26 +0100 Subject: [PATCH 48/52] USB: serial: visor: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240328-module-owner-usb-serial-v1-48-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1302; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=zQLc857Pt+hekczjRNz9Vs9fdZat2RkxZijifeCJb8g=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenk21IqmDHoMADZ3m+/AQJF0e8WzAw67s2ch uvfix7uJEyJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp5AAKCRDBN2bmhouD 193WD/wPoh+zRHQUVE4NlX10e47eVO0VtpkZ+Mq1yfZYZpBoTRmyQI3FJihfdrBccO8TLAq+Ums iGtgoj3Frc5TRQKSLrknglbgWe3tp/nirB6c3c0J1cHqVbb0+frOnwz3QJAn/JLludnzGoYjsvB ZdLMfXVci4kw3MnEk639mugXLc5bAOsxRdUAgY6QOmD/2xWSAI1ZR34JWJRuHj6x9KuM1GbwsvO kBTb5BrxJDAYDlLzfcdQSEKuJi0pIpPIyE6iFjSxDbO6aaOtfFikyDPSMHF6kObzMvu7SjdsF6y aqmoRPTqwckDnahiCnQbYlrhanSicnWygbbZjO6VgmvyBL1cbTm6iofDzp5PnIHTvyh9Ut3D3TV +iQH+XDbeTzSt5203aRf5kdTJppoTQ2kJM1s3IVS/CQRT+IFanVjzXyQHV/69O6zZm6ENaqjhJJ 3jJMnB4sjy/h2bKqTLov1d3Tb5g7LBLbkzqXmnOnPtuJWjYJtTjtJXGaui4SdF/S9Tvc5LAlWCf VSrdPW0MUpGIXhTeq8JwrISfsM/Ap6r3AtEz0qgDBMxs54BLG2iT7E9ILKtRG/tnXfXGL41/lhc GkFjPKvFO7mQtpAeJYMB/LRubL3L9oXjScRG7yLXjzaMLCsuKo5Hr/72mR7i4EQc4bjdYHn3Ml2 Dtfgo/Q70aLqqUQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- drivers/usb/serial/visor.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/usb/serial/visor.c b/drivers/usb/serial/visor.c index 4412834db21c..062a38fe0c1c 100644 --- a/drivers/usb/serial/visor.c +++ b/drivers/usb/serial/visor.c @@ -161,7 +161,6 @@ MODULE_DEVICE_TABLE(usb, id_table_combined); and Palm 4.0 devices */ static struct usb_serial_driver handspring_device = { .driver = { - .owner = THIS_MODULE, .name = "visor", }, .description = "Handspring Visor / Palm OS", @@ -180,7 +179,6 @@ static struct usb_serial_driver handspring_device = { /* All of the device info needed for the Clie UX50, TH55 Palm 5.0 devices */ static struct usb_serial_driver clie_5_device = { .driver = { - .owner = THIS_MODULE, .name = "clie_5", }, .description = "Sony Clie 5.0", @@ -200,7 +198,6 @@ static struct usb_serial_driver clie_5_device = { /* device info for the Sony Clie OS version 3.5 */ static struct usb_serial_driver clie_3_5_device = { .driver = { - .owner = THIS_MODULE, .name = "clie_3.5", }, .description = "Sony Clie 3.5", -- 2.34.1