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: 1294041 Return-Path: X-Original-To: patchwork-linux-input@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 1BDBDDF223 for ; Wed, 8 Aug 2012 09:45:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757931Ab2HHJph (ORCPT ); Wed, 8 Aug 2012 05:45:37 -0400 Received: from na3sys009aog101.obsmtp.com ([74.125.149.67]:57429 "EHLO na3sys009aog101.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030183Ab2HHJln (ORCPT ); Wed, 8 Aug 2012 05:41:43 -0400 Received: from mail-ob0-f177.google.com ([209.85.214.177]) (using TLSv1) by na3sys009aob101.postini.com ([74.125.148.12]) with SMTP ID DSNKUCI0VtfVJ8KIpEN+WFDLXoxjPX7Rx5sS@postini.com; Wed, 08 Aug 2012 02:41:43 PDT Received: by obbta17 with SMTP id ta17so1430136obb.22 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=dQS/CTPfZ8Ji77xu03Vpz9+po28ywY8yj05E9P2fwqfkYBtVfzU40veqrEeanWAjvH tXnD1FUXrPG7QVVIdiIrluMIZO8c9OwNBMRkljG4ZuSyPgOVtsCOpz80nYTYFL13UqH/ QV2y+5KqGgmRMR5LGX1Y/NJtWurgTFsY24NtB9Ies5M3KJVJY+8ygKvfEIdwmjduwFc1 HFfTVS8teXf6deU81EoBVqYoYdF9pthlXO61ypOv/5psvIjAItRyMZBMayg0TiaWopcp zJPSApv48wDP+JfDJvGBEZ8jF4DtaVUp93bkFFmoX36HI9laIRUtf61PpTMj4yCpqqCL t/BA== 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: ALoCoQlCYzYhcomd7wwXwhKHGGJYIw/oodF9ukb+oLxLul1PulEZgSwKcmMvR+37Om9p4mAfsI7C Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@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");