From patchwork Sat Sep 4 14:24:09 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Henriques X-Patchwork-Id: 155911 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o84ETAAu024994 for ; Sat, 4 Sep 2010 14:29:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753359Ab0IDO3J (ORCPT ); Sat, 4 Sep 2010 10:29:09 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:34329 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753208Ab0IDO3J (ORCPT ); Sat, 4 Sep 2010 10:29:09 -0400 Received: by wyf22 with SMTP id 22so1134427wyf.19 for ; Sat, 04 Sep 2010 07:29:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc :subject:message-id:mime-version:content-type:content-disposition :user-agent; bh=Uop8uNQRQUwhDh5W2Pk1DFfqYoO24nT0/IhYOjiqy9s=; b=waPhyW1KCLzNLuayTh3MefUHekiW/s7pQsahTruhd1AwH2JmA6BhvV84W8qJiahKhs 8XF+KKhdI707tTgIhcQAsw6m1gtUI/yphBDYvthT46Qm4j3IVPUN2OfbrWU50gAr64lo suIAthzmzu4cG7ghrLlzo9aGtxXDnQcjTeG4c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=WBFxRAaTp1RYpFzP8d0Hl+fO05LLpBMfGAmEfQtcjnk8aC7jlnzUGpyBOTHofdJeHI M4Ih3IGFiq9llLoV+CSclEKAW/9zd6tpgaVrGMOlI4SgA/nfFm6Ff+KUomTrUY1760uy E/27nId8D3b8KC2TnfVZXi+2ITPkDLxqpcQpg= Received: by 10.227.128.18 with SMTP id i18mr976483wbs.135.1283610547560; Sat, 04 Sep 2010 07:29:07 -0700 (PDT) Received: from hades ([86.47.185.217]) by mx.google.com with ESMTPS id a1sm2690235wbb.2.2010.09.04.07.29.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 04 Sep 2010 07:29:06 -0700 (PDT) Received: from miguel by hades with local (Exim 4.72) (envelope-from ) id 1Ortf7-0005gK-Gt; Sat, 04 Sep 2010 15:24:09 +0100 Date: Sat, 4 Sep 2010 15:24:09 +0100 From: Luis Henriques To: len.brown@intel.com Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/1] ACPI: fan: Fix more unbalanced code block Message-ID: <20100904142409.GA19040@hades> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Sat, 04 Sep 2010 14:29:11 +0000 (UTC) diff --git a/drivers/acpi/fan.c b/drivers/acpi/fan.c index 8a3b840..d94d295 100644 --- a/drivers/acpi/fan.c +++ b/drivers/acpi/fan.c @@ -369,7 +369,9 @@ static void __exit acpi_fan_exit(void) acpi_bus_unregister_driver(&acpi_fan_driver); +#ifdef CONFIG_ACPI_PROCFS remove_proc_entry(ACPI_FAN_CLASS, acpi_root_dir); +#endif return; }