From patchwork Tue Aug 14 14:22:29 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 1320451 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 56564DF215 for ; Tue, 14 Aug 2012 14:29:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752709Ab2HNO3v (ORCPT ); Tue, 14 Aug 2012 10:29:51 -0400 Received: from na3sys009aog103.obsmtp.com ([74.125.149.71]:42519 "EHLO na3sys009aog103.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756167Ab2HNOWi (ORCPT ); Tue, 14 Aug 2012 10:22:38 -0400 Received: from mail-qa0-f50.google.com ([209.85.216.50]) (using TLSv1) by na3sys009aob103.postini.com ([74.125.148.12]) with SMTP ID DSNKUCpfLRXUPvc2llBvOOjLfNI+e+RACw8x@postini.com; Tue, 14 Aug 2012 07:22:38 PDT Received: by qatp27 with SMTP id p27so382158qat.9 for ; Tue, 14 Aug 2012 07:22:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=FKPvsAy7Gu1btkgA508h6PC6b/nfFAN4iznxVqsYVmM=; b=XiWt8VU9XQ3dmtFf+5ERAbaHbWtG9qSSF7SzCPqFA6jaI4orK4xaW92+rIqfcJaq1S 7ZdQKoofU7BK99d469kHxQhXwbej7H9/IUks3AHXcHP5qHfiOCQjdEoJyIObReoRPbMO /IymXWSywCrMVqsXBPmlRSB3TbRItHJNHFKMsLwUva9sgwENUFtS0FIY9Uqzt3AzR6uI 2eEeQcy6o4wyu3ZjRepkPMtBkdKx/IkqStkr76CddNqWnu44F2xKfh6tp4QFUDDbpBEz 8h8gbCOj1YxjyCxHPL9bB7jW1900Y1Ns9mRKHwo+Scmy3mItFy02rZ+ny4lY6vjwsTh7 zBGQ== Received: by 10.60.171.5 with SMTP id aq5mr25601440oec.34.1344954155666; Tue, 14 Aug 2012 07:22:35 -0700 (PDT) Received: from barack.emea.dhcp.ti.com (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id kc5sm2799741obb.21.2012.08.14.07.22.32 (version=SSLv3 cipher=OTHER); Tue, 14 Aug 2012 07:22:35 -0700 (PDT) From: Peter Ujfalusi To: Mark Brown , Liam Girdwood , Tony Lindgren , Grant Likely , Rob Herring Cc: Tero Kristo , alsa-devel@alsa-project.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree-discuss@lists.ozlabs.org, Benoit Cousson , linux-kernel@vger.kernel.org Subject: [PATCH v2 01/14] MFD: twl4030-audio: Clean up MODULE_* and platform_driver part Date: Tue, 14 Aug 2012 17:22:29 +0300 Message-Id: <1344954162-7985-2-git-send-email-peter.ujfalusi@ti.com> X-Mailer: git-send-email 1.7.8.6 In-Reply-To: <1344954162-7985-1-git-send-email-peter.ujfalusi@ti.com> References: <1344954162-7985-1-git-send-email-peter.ujfalusi@ti.com> X-Gm-Message-State: ALoCoQmnywOwm3gPfdh1kvjOL68rx5bi17xdSqHEEHTQ0HTStdeBi5KhQBkxL+3tpGy4UGkoHboA Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Place the MODULE_* lines in the same block and add MODULE_DESCRIPTION. Rearange the platform_driver structure at the same time. Signed-off-by: Peter Ujfalusi --- drivers/mfd/twl4030-audio.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mfd/twl4030-audio.c b/drivers/mfd/twl4030-audio.c index 838ce4e..ac04b4f 100644 --- a/drivers/mfd/twl4030-audio.c +++ b/drivers/mfd/twl4030-audio.c @@ -250,18 +250,18 @@ static int __devexit twl4030_audio_remove(struct platform_device *pdev) return 0; } -MODULE_ALIAS("platform:twl4030-audio"); - static struct platform_driver twl4030_audio_driver = { - .probe = twl4030_audio_probe, - .remove = __devexit_p(twl4030_audio_remove), .driver = { .owner = THIS_MODULE, .name = "twl4030-audio", }, + .probe = twl4030_audio_probe, + .remove = __devexit_p(twl4030_audio_remove), }; module_platform_driver(twl4030_audio_driver); MODULE_AUTHOR("Peter Ujfalusi "); +MODULE_DESCRIPTION("TWL4030 audio block MFD driver"); MODULE_LICENSE("GPL"); +MODULE_ALIAS("platform:twl4030-audio");