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: 1320561 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 51828DF215 for ; Tue, 14 Aug 2012 14:36:49 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T1IAT-00036z-1T; Tue, 14 Aug 2012 14:32:26 +0000 Received: from na3sys009aog134.obsmtp.com ([74.125.149.83]) by merlin.infradead.org with smtps (Exim 4.76 #1 (Red Hat Linux)) id 1T1I10-0004NR-9A for linux-arm-kernel@lists.infradead.org; Tue, 14 Aug 2012 14:22:39 +0000 Received: from mail-qc0-f176.google.com ([209.85.216.176]) (using TLSv1) by na3sys009aob134.postini.com ([74.125.148.12]) with SMTP ID DSNKUCpfLG5EB2wrEjRAEEGZjw7IEX1csXl5@postini.com; Tue, 14 Aug 2012 07:22:38 PDT Received: by qcsc21 with SMTP id c21so331477qcs.35 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=NAA/a8tNPaJydnhqKrf1EmxyYi0/AtpimlN/2y4k18LWbm/FaLlH0wKdpZcnFbqwgX i0baYYI+0+CtQigA6Vvq70IPCMoOICHJ/sfxpOVCGZ6J9mQglEPsC5IFUDkz5exHuuZ2 gQ8Q9Vg9mDjJfg50+J1BhsqAxgVw24Tb3h8LEeXvLAEuJO91mRWYQcpbYTui9pSpVH5j C8Rpp59LMnrHnEni775xm3GZywKZwUU1FYSO9AIpGxJOZ71EfZ9L2dgoy16r3ZGkNeyK MmHyZYWix1RhRF+/B+7DNqOVlfbApXfvlG1WWrxxmCsADLzUUU/BrmbZE4gN0TRVtTiX H4bw== 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 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: ALoCoQlJBoO+9MxQW7ajTHyqekuR1334uFP4nX3MERWakzsWUIqf5JHD/PshA7Csh8KS0wZh565G X-Spam-Note: CRM114 invocation failed X-Spam-Score: -4.2 (----) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-4.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [74.125.149.83 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: alsa-devel@alsa-project.org, Benoit Cousson , devicetree-discuss@lists.ozlabs.org, linux-kernel@vger.kernel.org, Tero Kristo , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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");