Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752509AbbGHXEc (ORCPT ); Wed, 8 Jul 2015 19:04:32 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:38208 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751234AbbGHXEY (ORCPT ); Wed, 8 Jul 2015 19:04:24 -0400 Date: Wed, 08 Jul 2015 16:04:23 -0700 (PDT) Message-Id: <20150708.160423.2249509547518290972.davem@davemloft.net> To: vthakkar1994@gmail.com Cc: reksio@newterm.pl, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: ec_bhf: Use module_pci_driver From: David Miller In-Reply-To: <20150707070254.GA18958@vaishali-Ideapad-Z570> References: <20150707070254.GA18958@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]); Wed, 08 Jul 2015 16:04:24 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 647 Lines: 17 From: Vaishali Thakkar Date: Tue, 7 Jul 2015 12:32:54 +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 to net-next, 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/