From patchwork Tue Jun 19 17:02:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 10475115 X-Patchwork-Delegate: rjw@sisk.pl Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2DF8660383 for ; Tue, 19 Jun 2018 17:02:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1D17428E3C for ; Tue, 19 Jun 2018 17:02:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1194228E3F; Tue, 19 Jun 2018 17:02:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AB4F728E3C for ; Tue, 19 Jun 2018 17:02:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966649AbeFSRCg (ORCPT ); Tue, 19 Jun 2018 13:02:36 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:34956 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966514AbeFSRCf (ORCPT ); Tue, 19 Jun 2018 13:02:35 -0400 Received: by mail-pl0-f66.google.com with SMTP id k1-v6so178207plt.2 for ; Tue, 19 Jun 2018 10:02:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=z4HkEpFfLQDBCBA9bGSgAGxLAfLQcwR2KZECUlJUKfk=; b=TojAlovlcxTy3nKmuhTmVEiDTkMbkzHoqBaKqoFslYOhRGA3jdi2gaTLp7WntLzS66 oPnl7TH9Gxgc9gA4a5EsVeJobX1LUvQZMAlMYep0xzV9kN0mdOCsVn8TMggFxJ744b2a s4KCA5LA9r+/9W8lqGoKyh7OSWxdaFOJDWfuY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=z4HkEpFfLQDBCBA9bGSgAGxLAfLQcwR2KZECUlJUKfk=; b=BTLScO71bfa9R2IBG5nYYDweLzTnjOSyDB4xbFKWC9s+40P5TsjIp38HWTUbxKuoyl 43Gcyu7ZpNOnF5A9wP1CXFKqEoM7qFoQSMMxp7MKxTz1oU17NDhp5H3Io8TVUd3BRwJW RniZKc53WRSuOgbGwlxnwfr58/MUSdBxLXptvmv1KvNO+E6jtqJ/xxtWN9l7TMQk/D3R VlOJIF571pBhW00INBJPOFUfo/D7V9H2qz5qUAH/d4O/bDGY07Oa5R/watv2+Q2hlmjE EnnSct1nVkINZm9uQ+NsxXbVLyfuPoNqQFC0ZX7C16UpRlx9OSdonalaRKzAPT4gcf8P noCw== X-Gm-Message-State: APt69E3tNKdao3SvkWoxqNwADZsYoKxWhurZHrg2qhK1IB2hj+iOvBBz gAVXYF/GZ7JKQj72Z/pHT+geuA== X-Google-Smtp-Source: ADUXVKJxOGazESnlH1oE1ISL2pFiMFdYZNMNYo6/v+5k0i9V0mGs5morqMvhW/zj7Rw2LtrwPjChJw== X-Received: by 2002:a17:902:7604:: with SMTP id k4-v6mr19321729pll.13.1529427755502; Tue, 19 Jun 2018 10:02:35 -0700 (PDT) Received: from ban.mtv.corp.google.com ([2620:0:1000:1501:bc2f:3082:9938:5d41]) by smtp.gmail.com with ESMTPSA id v13-v6sm285511pfa.131.2018.06.19.10.02.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jun 2018 10:02:33 -0700 (PDT) From: Brian Norris To: "Rafael J. Wysocki" , Len Brown Cc: , linux-acpi@vger.kernel.org, devel@acpica.org, Matthias Kaehlcke , Brian Norris Subject: [PATCH] ACPI / processor: Finish making acpi_processor_ppc_has_changed() void Date: Tue, 19 Jun 2018 10:02:01 -0700 Message-Id: <20180619170201.36531-1-briannorris@chromium.org> X-Mailer: git-send-email 2.18.0.rc1.244.gcf134e6275-goog Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Commit bca5f557dcea ("ACPI / processor: Make acpi_processor_ppc_has_changed() void") changed one of the declarations of acpi_processor_ppc_has_changed() to return void, but the !CPU_FREQ version still return int. Let's return void to be consistent. Signed-off-by: Brian Norris --- include/acpi/processor.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/acpi/processor.h b/include/acpi/processor.h index 40a916efd7c0..1194a4c78d55 100644 --- a/include/acpi/processor.h +++ b/include/acpi/processor.h @@ -309,7 +309,7 @@ static inline void acpi_processor_ppc_exit(void) { return; } -static inline int acpi_processor_ppc_has_changed(struct acpi_processor *pr, +static inline void acpi_processor_ppc_has_changed(struct acpi_processor *pr, int event_flag) { static unsigned int printout = 1; @@ -320,7 +320,6 @@ static inline int acpi_processor_ppc_has_changed(struct acpi_processor *pr, "Consider compiling CPUfreq support into your kernel.\n"); printout = 0; } - return 0; } static inline int acpi_processor_get_bios_limit(int cpu, unsigned int *limit) {