From patchwork Tue Dec 3 08:28:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Lu X-Patchwork-Id: 3274371 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E1919C0D4A for ; Tue, 3 Dec 2013 08:30:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E4A2620279 for ; Tue, 3 Dec 2013 08:30:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 583F52026D for ; Tue, 3 Dec 2013 08:30:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752783Ab3LCI3z (ORCPT ); Tue, 3 Dec 2013 03:29:55 -0500 Received: from mga09.intel.com ([134.134.136.24]:15183 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751898Ab3LCI25 (ORCPT ); Tue, 3 Dec 2013 03:28:57 -0500 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 03 Dec 2013 00:25:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.93,816,1378882800"; d="scan'208";a="445878184" Received: from aaronlu.sh.intel.com ([10.239.37.67]) by orsmga002.jf.intel.com with ESMTP; 03 Dec 2013 00:28:33 -0800 From: Aaron Lu To: "Rafael J. Wysocki" Cc: Zhang Rui , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] ACPI / fan: remove unused macro for debug Date: Tue, 3 Dec 2013 16:28:29 +0800 Message-Id: <1386059312-2990-2-git-send-email-aaron.lu@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1386059312-2990-1-git-send-email-aaron.lu@intel.com> References: <1386059312-2990-1-git-send-email-aaron.lu@intel.com> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The _COMPONENT and ACPI_MODULE_NAME(name) is used for ACPI_DEBUG_PRINT, since there is no such use in fan module we can remove them. Signed-off-by: Aaron Lu --- drivers/acpi/fan.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/acpi/fan.c b/drivers/acpi/fan.c index 1fb62900f32a..9638d28513e8 100644 --- a/drivers/acpi/fan.c +++ b/drivers/acpi/fan.c @@ -36,9 +36,6 @@ #define ACPI_FAN_CLASS "fan" #define ACPI_FAN_FILE_STATE "state" -#define _COMPONENT ACPI_FAN_COMPONENT -ACPI_MODULE_NAME("fan"); - MODULE_AUTHOR("Paul Diefenbaugh"); MODULE_DESCRIPTION("ACPI Fan Driver"); MODULE_LICENSE("GPL");