From patchwork Mon Sep 10 10:46:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 1431551 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 8CA1A4025E for ; Mon, 10 Sep 2012 10:50:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757043Ab2IJKu1 (ORCPT ); Mon, 10 Sep 2012 06:50:27 -0400 Received: from na3sys009aog109.obsmtp.com ([74.125.149.201]:36806 "EHLO na3sys009aog109.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757064Ab2IJKqL (ORCPT ); Mon, 10 Sep 2012 06:46:11 -0400 Received: from mail-ob0-f174.google.com ([209.85.214.174]) (using TLSv1) by na3sys009aob109.postini.com ([74.125.148.12]) with SMTP ID DSNKUE3E8l7eDhW5gPu6Xh/PKUVbuuUfI8T3@postini.com; Mon, 10 Sep 2012 03:46:11 PDT Received: by obbuo13 with SMTP id uo13so2658370obb.19 for ; Mon, 10 Sep 2012 03:46:10 -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=qNrAI5gKa1Wx69re9ht2jg5RPjUjMnQe2ciogZGuUBo=; b=W9+johr9GhyT86/Um/HxLFjQBPedlrwBcr1v2H32whha4bQMKkqDXyHe88deqSGDV8 CziY4Pn7FgxE55JPb82AL27LO2W9KUVso5WYMe2YkGysRDvfDgREnApiNJp3zrfowFnx 2dKhR1yn2COSgvlxG1enSNYCCmHBWRVn8IxOrDT1K2KjUOlnvsFbS6IpF3dwFPsBS3N9 33Fdpw0C7cQXJqWJSKXALx3m48a4A1gndTbX6AHWxqojxIU7TcpOvOonCpb6e7r+GjV/ H3ToCXDuMjr+OvcsDMAy+d5VhSVbwpxcL91iyaaETeO83mQi/1BLarWDlCU8WWfUZFGV 3mqA== Received: by 10.60.1.106 with SMTP id 10mr9505736oel.84.1347273970491; Mon, 10 Sep 2012 03:46:10 -0700 (PDT) Received: from barack.emea.dhcp.ti.com (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id 5sm8888098oeq.4.2012.09.10.03.46.06 (version=SSLv3 cipher=OTHER); Mon, 10 Sep 2012 03:46:09 -0700 (PDT) From: Peter Ujfalusi To: Mark Brown , Liam Girdwood , Tony Lindgren , Samuel Ortiz , Dmitry Torokhov , 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 v4 01/14] MFD: twl4030-audio: Clean up MODULE_* and platform_driver part Date: Mon, 10 Sep 2012 13:46:19 +0300 Message-Id: <1347273992-9107-2-git-send-email-peter.ujfalusi@ti.com> X-Mailer: git-send-email 1.7.12 In-Reply-To: <1347273992-9107-1-git-send-email-peter.ujfalusi@ti.com> References: <1347273992-9107-1-git-send-email-peter.ujfalusi@ti.com> X-Gm-Message-State: ALoCoQlJQ1/mVTb1cTbgFwv1VjaUSmM63oPqa740XZi8LtXos5PGLWTXn074l7AO20R+I8yoGxLJ 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 file 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");