Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp742746lqh; Thu, 28 Mar 2024 15:15:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV1k5AJ/51/E6Skdghd78sm48Y5txzkHvbRL9CLwhnbgwrKQwjanTNZiXp3lrp4FCM9fN6uL2cRqsIZX9OCNnplyL9wLNjAulnzXrpQnw== X-Google-Smtp-Source: AGHT+IH+BKdTG8PJk47za9hxGNuuI2Kb6qsm0uLLmAF4DXWnPWVk4+nnG3OhKeAO1Np3CkgS1IjF X-Received: by 2002:a17:903:1c6:b0:1e0:a731:ea4d with SMTP id e6-20020a17090301c600b001e0a731ea4dmr954128plh.62.1711664151003; Thu, 28 Mar 2024 15:15:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711664150; cv=pass; d=google.com; s=arc-20160816; b=ngBowTtBy4VB/qw0VcipwrOe3lKY8MLMx4iQnIlp92chY8361h5vqyModM/lNfl3y5 XYhsKKcrD3eF170KkeRURyI+Ka04gEjD0928T0gcwMyy9+PUmf4Hdsnv0U9DEvo/2lSX BuDgw7xk8aP9GBB9cWI1ZUIFjlMno69qG8T6LwygHSCrTRV9MXVAI9s6gbQ6+y2hHRmt KTvx3pPnfF0LMZ9Bkp2B5jZ6McHro1Ir10NV7vb9S6oiQibsDsuHoy2tVeOLVlZ0DFj0 ekuzbgh903lLIVFE9E6OxMWfZjwQ03gYqjkhhA/JhJlv0V/xQmmsOmgLPGLMsSHE8ipu xTEw== 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=kMmFPgkZTzqNvuxzuIKtzdFKCQ+ZTWSj3Ajg8KiryEc=; fh=VUTzGrpi4zjzooXQAKSBgCiIsLFwNl+jN7PdJ201fGg=; b=KoW9jbweYRWq84WxdQRbxlbDFyLym20gYFs4pKxd92zkNz64/00hEIA46NNF0bElyk BXnNxrBY6aM/O5BJ8F1E72PtNJM1feAeylC1Bq+jEJnuhdidD5QksWqtCt0NGgrGRUFd qheHi63AXRt093VJJtyUnebl7UvThxvgfGeg0A90NDVBUxhcDNXhpdc5TMdEvwq+bhKg lONfUkjsETnvvsAQ/sUf/DuUWhCg5CQLG2989LdrGOnXRrO6nfyMWYHmXKsPsRJcq5JZ IGAHX5RVHkWYrc/jvpjSw0tVrLLE78x6KKV2tUIto+iBEJj/SGnBMFnhwmAPgm3CQP5g ZT/A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-123738-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123738-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 b9-20020a170903228900b001e0f36613c4si2353064plh.498.2024.03.28.15.15.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 15:15:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-123738-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-123738-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123738-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 C724E293F4D for ; Thu, 28 Mar 2024 22:15:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 19629145FF6; Thu, 28 Mar 2024 22:07:42 +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 8C771145FE0; Thu, 28 Mar 2024 22:07:41 +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=1711663661; cv=none; b=pUAW1x4SjmBqLg9xrxS0NXU0/z6VMs3macfZZ0+HlvkJ1ZFbrCkKysZj3m6U+tsRWqd+TWUbIMyLOkqFiUA60Z+ayqwjhwuCf2+N4k6ZQB1hK1V5nrN48/LA5VvrIssIQ24LsYJTE9W3cD8RgLKGqblrz9ScDZcjCMN9egFZZKs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663661; c=relaxed/simple; bh=nxoYLEe/N6OE4oKhVnw0IduSefBP5qNPPdhZj4nUgv0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=cyurSyFZpBkWoVSVQe0lIwmUlGZEufkghoMg6T0FAkXGpiRyOcr+E/4ChD4p+Tdnvhlcjr8iza0aB94HSgBkRu8un3cWEJJHjVaWVnB3x/2YCGkEQ+WJyTcFhDMzcmuNJuj55yqvQcVFd7JbrSyIHsCPiwfwu+y36ziqRkNdmDw= 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 5227AC433C7; Thu, 28 Mar 2024 22:07:40 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:11 +0100 Subject: [PATCH 33/52] USB: serial: option: 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-33-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=676; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=nxoYLEe/N6OE4oKhVnw0IduSefBP5qNPPdhZj4nUgv0=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenXDnCwk1t7SRk3Pcojjz0st/2G4JcsH322i Xu4NuMLDXiJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp1wAKCRDBN2bmhouD 19nVD/9Id+rT/FIsS2isvGUcHK0fqQ7ShBrwT6dBKQ02Sg46Y/ak5LNcA2wM0FsQwqvqVsyd/IM VW6gn3ClR5Gu2V2bn6+PZaKaf5J7TFHCD45hHPlaQRWPmxptCfcOo6KrxHYbZUNidiNyG2wQjuB /7Uiao71JxZWyH6HgBgbkPASUk9JD+QnYMlf1E5OdSw3Ux/wARuv1I8XFJt/LTSrmYHA+ICahiA Y08Rt/xB+4v3XwuL4OQjA6la69McIcFyQu3+hWapdONQpPg611WnqBwJZXc9vkJJy+ngRveDoXQ H4hgzMF8w8bhL73HGOun1gEqRd2TY1K2fXD8c9MjTuFxScCyrw6to3jdX0VbtYeDBoLTS/urrM/ 6/Rl75OhnZU4qEwTvzV3ad+VdjPmKx90P8noa2yeBLJwBz/6AK9ZHUVsy3bXi+4+/XOst/N+lz8 4MJaoChP9sV7X9uyoPp7gZFekAPKMIX4S7zjV302Qh6gQmZG+n3YlXfucgESPRecrA0O4IVw7z1 zs2/VC0KxJ2JMvylDTvxuY2LmwTAuzkX9BJQFj5qtxUXHgxWbtASumASfaP8tLzNkwLFJN4EAWr 7PX7kYcdjhUd804dLgcRCvxAeNThY7/nxlvU2oIoADP3hYHbnsN7AHHw7C1bLGj9rvcjHe84Mjr g1maMws1ldUZeDA== 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/option.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 55a65d941ccb..d1598d665a5c 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -2298,7 +2298,6 @@ MODULE_DEVICE_TABLE(usb, option_ids); static struct usb_serial_driver option_1port_device = { .driver = { - .owner = THIS_MODULE, .name = "option1", }, .description = "GSM modem (1-port)", -- 2.34.1