Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751144AbbGIHTe (ORCPT ); Thu, 9 Jul 2015 03:19:34 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:40672 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751125AbbGIHTZ (ORCPT ); Thu, 9 Jul 2015 03:19:25 -0400 Date: Thu, 09 Jul 2015 00:19:24 -0700 (PDT) Message-Id: <20150709.001924.1336350289907335948.davem@davemloft.net> To: vthakkar1994@gmail.com Cc: jdmason@kudzu.us, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] neterion: s2io: Use module_pci_driver From: David Miller In-Reply-To: <20150709045539.GA7052@vaishali-Ideapad-Z570> References: <20150709045539.GA7052@vaishali-Ideapad-Z570> X-Mailer: Mew version 6.6 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 09 Jul 2015 00:19:25 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 635 Lines: 17 From: Vaishali Thakkar Date: Thu, 9 Jul 2015 10:25:39 +0530 > Use module_pci_driver for drivers whose init and exit functions > only register and unregister, respectively. > > A simplified version of the Coccinelle semantic patch that performs > this transformation is as follows: ... > Signed-off-by: Vaishali Thakkar Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/