From patchwork Wed Jul 7 18:30:15 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Henriques X-Patchwork-Id: 110687 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o67IYY3A024949 for ; Wed, 7 Jul 2010 18:34:34 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754902Ab0GGSeT (ORCPT ); Wed, 7 Jul 2010 14:34:19 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:58088 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753980Ab0GGSeS (ORCPT ); Wed, 7 Jul 2010 14:34:18 -0400 Received: by wyf23 with SMTP id 23so3490690wyf.19 for ; Wed, 07 Jul 2010 11:34:16 -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=FuhJeV3VxE+zE2+6tlSNt+hSRtX2VEWYnDM5x1Njf9Y=; b=l0ZcEAvuBdtUd9X5ylxOCVWYU0EHhYlwSwrU4kuK1wqExpi/rUqa3WpKyPliNyBmCH 9LdGSlxV2J1ydgZrHarFGKYO785NfzvXROPjfdOMDmJAuLxoyxPKe9ayHvjjjNZlyYUQ wYLSr5ZJ+2KPVVAc0+/YGvK8gn8ws0rLC5TOo= 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=vvfJIue1TupcXEPDaZWAKHx0FDUPAFeHDX3x1RaElfdvVrZH1saNR+ueB3wlORLJa1 Koj8HTNJjumjGem4TnSOKiK5EvZlJETUXOy11g3eiK9m2k4NAYjfn8WTLcMNijAS5Xvl 5a+eZOBUcif6tbz4WmZd+ZP2gd5rgyKFFWODA= Received: by 10.213.29.8 with SMTP id o8mr5085156ebc.87.1278527656325; Wed, 07 Jul 2010 11:34:16 -0700 (PDT) Received: from hades ([86.47.185.217]) by mx.google.com with ESMTPS id x54sm716826eeh.23.2010.07.07.11.34.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 07 Jul 2010 11:34:15 -0700 (PDT) Received: from miguel by hades with local (Exim 4.72) (envelope-from ) id 1OWZNv-00088S-8q; Wed, 07 Jul 2010 19:30:15 +0100 Date: Wed, 7 Jul 2010 19:30:15 +0100 From: Luis Henriques To: lenb@kernel.org Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/1] ACPI: fan: Fix more unbalanced code block Message-ID: <20100707183015.GA27757@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 (demeter.kernel.org [140.211.167.41]); Wed, 07 Jul 2010 18:34:34 +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; }