From patchwork Thu Sep 6 12:12:08 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 1413871 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 055513FC85 for ; Thu, 6 Sep 2012 12:16:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753252Ab2IFMMV (ORCPT ); Thu, 6 Sep 2012 08:12:21 -0400 Received: from na3sys009aog101.obsmtp.com ([74.125.149.67]:49717 "EHLO na3sys009aog101.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753101Ab2IFMMS (ORCPT ); Thu, 6 Sep 2012 08:12:18 -0400 Received: from mail-ob0-f174.google.com ([209.85.214.174]) (using TLSv1) by na3sys009aob101.postini.com ([74.125.148.12]) with SMTP ID DSNKUEiTF2DnXbiD002e4bDsmhJeUsGyVLbP@postini.com; Thu, 06 Sep 2012 05:12:18 PDT Received: by obbuo13 with SMTP id uo13so2296461obb.19 for ; Thu, 06 Sep 2012 05:12:07 -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=glCfkCp4ky7w+Lbu11vb4XIAq+u7xzz+oXPWbVWwEGr2Rd4FSDIq6UZRq5soZvz9Fe tWpKFCZF6nPDjT1ryVfJYd8Gae15SYzRABOvKH0Qq56axEjvFv2SkcZaE4E0NsM1wk99 4dqiPUCFrU6tazxyKoCk+cz/EeEGwdhrHRs6/wyP5stSDsq3LA+31d/NZMAiV6JjsMyc m+LQz+ZCUJ1FFrQ5b7z3VFy+vH6oV8FJu3/+VJTu4ATpyxUltRX87eFQD4hg+ucVQBdn 977a+bkBy9xNmGkORCiDeaCo8P7C2IZ+5HnWv87AWYsaTLPVpE3kJ4TU5TT0MbqkCMBy 1q5A== Received: by 10.60.172.135 with SMTP id bc7mr1601121oec.127.1346933527223; Thu, 06 Sep 2012 05:12:07 -0700 (PDT) Received: from barack.emea.dhcp.ti.com (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id zn9sm1795856obb.23.2012.09.06.05.12.03 (version=SSLv3 cipher=OTHER); Thu, 06 Sep 2012 05:12:06 -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 v3 01/14] MFD: twl4030-audio: Clean up MODULE_* and platform_driver part Date: Thu, 6 Sep 2012 15:12:08 +0300 Message-Id: <1346933541-21547-2-git-send-email-peter.ujfalusi@ti.com> X-Mailer: git-send-email 1.7.12 In-Reply-To: <1346933541-21547-1-git-send-email-peter.ujfalusi@ti.com> References: <1346933541-21547-1-git-send-email-peter.ujfalusi@ti.com> X-Gm-Message-State: ALoCoQnjDhZsbjoYxll1vdWlWBuNK0wM39tlapDnFjinrnqt6N1/z4ymfs381eJ+Elww0b55sXyU 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");