Message ID | 1372688460-11010-1-git-send-email-naresh.bhat@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCE6FQF35EDBBW5AY2HAKGQEMSCKBGY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f199.google.com (mail-qc0-f199.google.com [209.85.216.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2A2AD23944 for <linaro@patches.linaro.org>; Mon, 1 Jul 2013 14:21:16 +0000 (UTC) Received: by mail-qc0-f199.google.com with SMTP id a1sf6785339qcx.10 for <linaro@patches.linaro.org>; Mon, 01 Jul 2013 07:21:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-beenthere:x-forwarded-to:x-forwarded-for:delivered-to:from:to:cc :subject:date:message-id:x-mailer:mime-version:x-gm-message-state :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-google-group-id:list-post:list-help :list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=fGBYoY4TjpDAvlUBLcJg1KVq8w58cblknNgTmNAVbiQ=; b=WTva3EvyKk33Exs/nB2DPtAHcXiRz020suZxjYyPliM7a8gNoUNuExRgHOwZTxxUcM dglpG/o8u6HqCCYYCX5DpoIsJvDj4EyrbQr4G3N9L4M0SMvXdBFHNAsCqY8cuYoSjuAN CSt9LBUNp2BRpS/PwiRAslgUxhYcBO3foccrvjQ9fFN6IL5/eKzfrRFzSpoQhjldqVlI ym563u1CCwzgVU0GT/UPEY8LN4dVUs8Gv8+a7S1wkF754yj11GEXVh1zHqbYavproHkF vv/ESLhjUJ+DyOGqMG9MNW1IhCz9JPNLm8HM0k4Md4kZB6SR7b66XaRG1bNfW5Rg1zZE N5Uw== X-Received: by 10.59.6.99 with SMTP id ct3mr3046832ved.12.1372688475390; Mon, 01 Jul 2013 07:21:15 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.120.234 with SMTP id lf10ls2153459qeb.49.gmail; Mon, 01 Jul 2013 07:21:15 -0700 (PDT) X-Received: by 10.58.146.196 with SMTP id te4mr9606508veb.62.1372688475083; Mon, 01 Jul 2013 07:21:15 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id t8si4795710vcz.103.2013.07.01.07.21.15 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 01 Jul 2013 07:21:15 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id kw10so2015478vcb.33 for <patchwork-forward@linaro.org>; Mon, 01 Jul 2013 07:21:15 -0700 (PDT) X-Received: by 10.52.95.113 with SMTP id dj17mr8164134vdb.82.1372688474983; Mon, 01 Jul 2013 07:21:14 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.165.8 with SMTP id yu8csp283105veb; Mon, 1 Jul 2013 07:21:14 -0700 (PDT) X-Received: by 10.66.248.68 with SMTP id yk4mr24575424pac.137.1372688473918; Mon, 01 Jul 2013 07:21:13 -0700 (PDT) Received: from mail-pd0-f180.google.com (mail-pd0-f180.google.com [209.85.192.180]) by mx.google.com with ESMTPS id pn6si11106648pbb.201.2013.07.01.07.21.13 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 01 Jul 2013 07:21:13 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.180 is neither permitted nor denied by best guess record for domain of naresh.bhat@linaro.org) client-ip=209.85.192.180; Received: by mail-pd0-f180.google.com with SMTP id 10so2633376pdi.39 for <patches@linaro.org>; Mon, 01 Jul 2013 07:21:13 -0700 (PDT) X-Received: by 10.68.189.10 with SMTP id ge10mr21141431pbc.127.1372688473569; Mon, 01 Jul 2013 07:21:13 -0700 (PDT) Received: from Latitude-E6430.mvista.com ([115.119.134.194]) by mx.google.com with ESMTPSA id br1sm22575216pbb.4.2013.07.01.07.21.10 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 01 Jul 2013 07:21:12 -0700 (PDT) From: naresh.bhat@linaro.org To: linux-acpi@vger.kernel.org Cc: len.brown@intel.com, patches@linaro.org, linaro-kernel@lists.linaro.org, naresh.bhat@linaro.org, linux-kernel@vger.kernel.org Subject: [PATCH] ACPI/fan: Initialize acpi_state variable Date: Mon, 1 Jul 2013 19:51:00 +0530 Message-Id: <1372688460-11010-1-git-send-email-naresh.bhat@linaro.org> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQnLghHtxDqZgL8kssFSSjrgGLNGzlpRsAS+mxzIvX1RYFSA/e7usANVI9JCj1Pdnvf7Wz9J X-Original-Sender: naresh.bhat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit |
diff --git a/drivers/acpi/fan.c b/drivers/acpi/fan.c index 8d1c010..5b02a0a 100644 --- a/drivers/acpi/fan.c +++ b/drivers/acpi/fan.c @@ -84,7 +84,7 @@ static int fan_get_cur_state(struct thermal_cooling_device *cdev, unsigned long { struct acpi_device *device = cdev->devdata; int result; - int acpi_state; + int acpi_state = ACPI_STATE_D0; if (!device) return -EINVAL;