From patchwork Wed Aug 8 09:41:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 1293711 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 600B33FD8D for ; Wed, 8 Aug 2012 09:41:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030238Ab2HHJlu (ORCPT ); Wed, 8 Aug 2012 05:41:50 -0400 Received: from na3sys009aog125.obsmtp.com ([74.125.149.153]:51414 "EHLO na3sys009aog125.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030221Ab2HHJls (ORCPT ); Wed, 8 Aug 2012 05:41:48 -0400 Received: from mail-ob0-f176.google.com ([209.85.214.176]) (using TLSv1) by na3sys009aob125.postini.com ([74.125.148.12]) with SMTP ID DSNKUCI0VtfVJ8KIpEN+WFDLXoxjPX7Rx5sS@postini.com; Wed, 08 Aug 2012 02:41:47 PDT Received: by obbtb18 with SMTP id tb18so1119782obb.35 for ; Wed, 08 Aug 2012 02:41:41 -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=Gg5a7JPjLXsbWRk0Z2X0UapVcRbdr1uTu4ZOo1yiidXNE89WJn0TXW8sp+OE+F2ZGJ yZy3yC2NZr7A3ERumDYNjLQNWWJo4CmB1HSNwCQYU2wWYIB/uKiUjgz6VsUkFF3E3RBK LnD9nvtDxmJ+Vp5S9S7OOqegOUCrUYDXmM8E14E8kp5Ff2TWmYCU0Piy9lknblt+0i9x MEv4k15RIUDGFl6A9UhdJ13KJ+vcAl9lkQ6kTha9HW8aYmmLERsvi1zmlIY21lGPLv/l 21etgNmlgF/lBmeQGYMiACAtYLCrUqKWR++1p4JwYmII8O/ei+OFNGij3Dt4gefGbkYp Vv6Q== Received: by 10.182.98.108 with SMTP id eh12mr29204033obb.6.1344418901558; Wed, 08 Aug 2012 02:41:41 -0700 (PDT) Received: from barack.emea.dhcp.ti.com (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id c6sm22141308obn.13.2012.08.08.02.41.38 (version=SSLv3 cipher=OTHER); Wed, 08 Aug 2012 02:41:41 -0700 (PDT) From: Peter Ujfalusi To: Samuel Ortiz , Mark Brown , Liam Girdwood , Tony Lindgren , Dmitry Torokhov Cc: alsa-devel@alsa-project.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, Benoit Cousson Subject: [PATCH 01/11] MFD: twl4030-audio: Clean up MODULE_* and platform_driver part Date: Wed, 8 Aug 2012 12:41:17 +0300 Message-Id: <1344418887-5262-2-git-send-email-peter.ujfalusi@ti.com> X-Mailer: git-send-email 1.7.8.6 In-Reply-To: <1344418887-5262-1-git-send-email-peter.ujfalusi@ti.com> References: <1344418887-5262-1-git-send-email-peter.ujfalusi@ti.com> X-Gm-Message-State: ALoCoQl12r6SJ4yBIiqxQrgqiv3h+u+Mb6YPDspUtokN3Vt0oc0nIVy11zuWjY/o65F4K2Oq2oka 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");