Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755563AbbGCU4e (ORCPT ); Fri, 3 Jul 2015 16:56:34 -0400 Received: from smtp06.smtpout.orange.fr ([80.12.242.128]:27748 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755369AbbGCU42 (ORCPT ); Fri, 3 Jul 2015 16:56:28 -0400 X-ME-Helo: belgarion X-ME-Auth: amFyem1pay5yb2JlcnRAb3JhbmdlLmZy X-ME-Date: Fri, 03 Jul 2015 22:56:26 +0200 X-ME-IP: 86.199.196.87 From: Robert Jarzmik To: Vaishali Thakkar Cc: Daniel Mack , Haojian Zhuang , Russell King , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: mact-pxa: Use module_platform_driver References: <20150703114656.GA6871@vaishali-Ideapad-Z570> X-URL: http://belgarath.falguerolles.org/ Date: Fri, 03 Jul 2015 22:53:47 +0200 Message-ID: <871tgparok.fsf@belgarion.home> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 698 Lines: 21 Vaishali Thakkar writes: > Use module_platform_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: Applied to pxa/for-next, thanks. For next time, please use the "ARM: pxa:" subject prefix for arch/arm/mach-pxa patches. I fixed this for this submission. Cheers. -- Robert -- 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/