From patchwork Fri Nov 12 17:02:13 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Renninger X-Patchwork-Id: 320152 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 oACH1d4e015394 for ; Fri, 12 Nov 2010 17:02:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757577Ab0KLRCS (ORCPT ); Fri, 12 Nov 2010 12:02:18 -0500 Received: from cantor.suse.de ([195.135.220.2]:34171 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753396Ab0KLRCR (ORCPT ); Fri, 12 Nov 2010 12:02:17 -0500 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id C494194E22; Fri, 12 Nov 2010 18:02:16 +0100 (CET) From: Thomas Renninger To: lenb@kernel.org, linux-acpi@vger.kernel.org, arjan@linux.intel.com, trenn@suse.de Subject: [PATCH 2/3] cpuidle: Rename X86 specific idle poll state[0] from C0 to CPUIDLE Date: Fri, 12 Nov 2010 18:02:13 +0100 Message-Id: <1289581334-26836-3-git-send-email-trenn@suse.de> X-Mailer: git-send-email 1.6.3 In-Reply-To: <1289581334-26836-1-git-send-email-trenn@suse.de> References: <1289581334-26836-1-git-send-email-trenn@suse.de> 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]); Fri, 12 Nov 2010 17:02:19 +0000 (UTC) diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c index 08d5f05..535df42 100644 --- a/drivers/cpuidle/cpuidle.c +++ b/drivers/cpuidle/cpuidle.c @@ -260,8 +260,8 @@ static void poll_idle_init(struct cpuidle_device *dev) cpuidle_set_statedata(state, NULL); - snprintf(state->name, CPUIDLE_NAME_LEN, "C0"); - snprintf(state->desc, CPUIDLE_DESC_LEN, "CPUIDLE CORE POLL IDLE"); + snprintf(state->name, CPUIDLE_NAME_LEN, "CPUIDLE"); + snprintf(state->desc, CPUIDLE_DESC_LEN, "CORE POLL IDLE"); state->exit_latency = 0; state->target_residency = 0; state->power_usage = -1;