From mboxrd@z Thu Jan 1 00:00:00 1970 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 C68AC220F2D for ; Mon, 9 Feb 2026 16:03:31 +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=1770653011; cv=none; b=EOQKnwRru51GGXRu7GJ6N1vOdU2HqYziur4+b7uxh02o0rHMT4vHOUuvwillHkpQeIXAVq/XvMX4JjyCtHoz5qPKj/wARDviRFld26VAbO4W/FVwdPuX51h8GlbyxlseVuMGoUYsbIRR7USRCwsPXmKO1Da7/ZWc0C3SdcYoUkI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770653011; c=relaxed/simple; bh=Toc7k4xM9S8wGAw7kNYtytC8YDNqnxF/R9Te/CWhyCI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uVksYWR54cnlyj9lVPgzSDhCNIfiJ55pUdGhi+5llGHGBEpHB7n/BV08lnOW8vF1neA4QO8HFavg6Pwwuj0D/gXc3sJKqXX6Kn6MCncbDVUdSxuO64/5UzkFMwlus+4lVwedlixzBpTsu7DPCn7pMwRacL4cTPfpuPb5lzkIlic= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UAePo52Q; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UAePo52Q" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B83A1C16AAE; Mon, 9 Feb 2026 16:03:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1770653011; bh=Toc7k4xM9S8wGAw7kNYtytC8YDNqnxF/R9Te/CWhyCI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UAePo52QYrpmyj+YfmmO9KyqhGuWwLMvhQSWEmrl2KvI+tttCy4Dc8O6PE2r//2zB MPbgvuq6wf0rnVeP0mqiftYHNOIZWLEsxBYjiC+BleQwMYoncajWR4+G/ba320T0E0 ghlQJZKvPIk+UMUSz7H0m0zxHBWXiEXRHhgo88AsiniRKnYK3Jd9Xpu1dqsYLEXXQH qXla3aXchD9gVkievIH5WjFuDlYKX8rrXGcmKZQEuJZokhF4bl+50y9EDI/f/tTptP +U677kT5Yo5wEeYB5OAGcM0STuFzIpRmpqZRkYobBZMdOvhUC4Z7CcqFwOBXouapH3 cvXCiDhi2KpwA== Date: Mon, 9 Feb 2026 16:03:27 +0000 From: Simon Horman To: Ethan Nelson-Moore Cc: netdev@vger.kernel.org, Michael Grzeschik , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Subject: Re: [PATCH net-next] net: arcnet: com20020-pci: use module_pci_driver Message-ID: References: <20260205070632.37516-1-enelsonmoore@gmail.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260205070632.37516-1-enelsonmoore@gmail.com> On Wed, Feb 04, 2026 at 11:06:31PM -0800, Ethan Nelson-Moore wrote: > The only thing this driver's init/exit functions do is call > pci_register/unregister_driver, and in the case of the init function, > print an unnecessary message. Replace them with module_pci_driver to > simplify the code. > > Signed-off-by: Ethan Nelson-Moore I'm not sure that I see the value of cleanups to this driver. Which hasn't seen much activity for a while now. But I agree the change is correct. Reviewed-by: Simon Horman ...