Received: by 2002:ab2:6991:0:b0:1f2:fff1:ace7 with SMTP id v17csp215546lqo; Wed, 27 Mar 2024 10:57:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXXZdEw1woliey0umtGfzYOL8POoL9dgzqe3DoFheqnZJVH2N4nrkHdw6ezHpeabSCD6/vC35vJDjqjTSc1VIPDaIdVqk1MHSwfqLDFuQ== X-Google-Smtp-Source: AGHT+IF8H/GT/0EeSQlFBrwaweyVuC6yK0rt5c8x3ZYkKk1OWfT4j45dEWGG4a6iIaK9QsfZz09X X-Received: by 2002:ac8:5f09:0:b0:431:7f86:951c with SMTP id x9-20020ac85f09000000b004317f86951cmr479521qta.28.1711562220024; Wed, 27 Mar 2024 10:57:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711562220; cv=pass; d=google.com; s=arc-20160816; b=vCsNSyNQPitVIOkLvJOVxIUoGRsmdHGO1YC5t3yJFWqN5H1ogNve7ts+jXwSQtX4wC kdko5NguqvPfv66kHysI4usaBaT4QFit37DPzdrqhsnN/rmemo6dZ6uY6CsPpFH7Uu9U RbY0pk9wOhuUhLwvyM68559mhbMmbubLexy3lzpYir5Uc+opEbAgqVNDSDk4ZYZn5fIe V2nbfXG67AtT0avEoOsYjr3w4w9Ntn3lTZJYeVaUJoaqOGXUhKaViIDnadAYm/+oRb8k 4L6QTEs8PmN66oT73bBKm3lkQ61rFgtIy5TvUbJV/PBCOvZ5/95k008YNUiBVx/BH3Hb IXxg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=TlpGpxHEeNixvO74tcMY90WBAhiqkz2QFgI4nCOSbEk=; fh=2EwKoiWQ3DDnSm7G20MHG8uJl0Tj3H+GQjWl46jFo0o=; b=GNmK9JKMngazaH17Y62ZojBcPWViihHZ+t+b6zooyvkdxJwQyTHf+66H1mzil1sRHv gDo/lDpyWhimQ8NkVzoNvJ8s3dtFRb5Oa4mFhrW4s99sxNh/luqv0ZF2paCQjHB1+60t 0vHyxaXKcczSnF/oCNgV4YRAjjIPV1hfwV4FkUoBtLynW0M3tjDMulpTrs9Kcc+K1hkQ Ywr4PfZIlfbtmYjfYHJxPcxNlyBlgkiJ7/6mZ2IhNNZGPjrRRlxeNPdktPGOrnzMDcep U9FP78JuAI3mJlZRI0mbKJZ5r20jeltxUz9fZjRrGrkDCf6p5B3w7BjPIcFhAiLijnhr lFHA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-121759-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121759-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id b9-20020a05622a020900b0043134197952si10348446qtx.341.2024.03.27.10.56.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 10:57:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121759-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-121759-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121759-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BFAA51C21929 for ; Wed, 27 Mar 2024 17:56:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B16E715252F; Wed, 27 Mar 2024 17:49:17 +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 31FE514D701; Wed, 27 Mar 2024 17:49:16 +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=1711561757; cv=none; b=ccr7aWx3WvQn8hbhHJbSMeT/r/vXMjsQD/wpdkz9Y6W00CWwEVbOzOLcxggmMfDSf77vuoJVAKfpIq3vL+XhkDKZGVisqJMqYQ9KJxdZLnsIgLtlL4RUeFgjYApISlW9nQJAAa6ky62JybahWV9QqMK5n0NltPAg7SUxTM1cAKw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711561757; c=relaxed/simple; bh=xMlBPCxx67Kd23VCZ7ClsLvlUlSfPjC+64ZiDaRXLaY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=mY3wJockNOyiKHmCEodq1KlXmtIHnfnU55N+JkOxvHKIiwJcKuhJI2UjmirVh637nDuKlczaRsvCWyAVAHfbys90OemMHRTyM58DFMuFiPT7sB7EU0bItM0rAPvvHz0LDvjbqyJ87jt1NKb/iAgFOLDjHHFa1ISuJaqElr1Qsds= 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 E0C04C43390; Wed, 27 Mar 2024 17:49:13 +0000 (UTC) From: Krzysztof Kozlowski To: Moritz Fischer , Wu Hao , Xu Yilun , Tom Rix , linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] fpga: altera: drop driver owner assignment Date: Wed, 27 Mar 2024 18:49:09 +0100 Message-Id: <20240327174909.519796-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Core in spi_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- drivers/fpga/altera-ps-spi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/fpga/altera-ps-spi.c b/drivers/fpga/altera-ps-spi.c index 740980e7cef8..d0ec3539b31f 100644 --- a/drivers/fpga/altera-ps-spi.c +++ b/drivers/fpga/altera-ps-spi.c @@ -284,7 +284,6 @@ MODULE_DEVICE_TABLE(spi, altera_ps_spi_ids); static struct spi_driver altera_ps_driver = { .driver = { .name = "altera-ps-spi", - .owner = THIS_MODULE, .of_match_table = of_ef_match, }, .id_table = altera_ps_spi_ids, -- 2.34.1