From patchwork Sat Feb 16 15:55:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangtao Li X-Patchwork-Id: 10816295 X-Patchwork-Delegate: viresh.linux@gmail.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3381517E9 for ; Sat, 16 Feb 2019 15:55:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2366129D3B for ; Sat, 16 Feb 2019 15:55:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 180662C13F; Sat, 16 Feb 2019 15:55:42 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 DEB932C13B for ; Sat, 16 Feb 2019 15:55:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730451AbfBPPzj (ORCPT ); Sat, 16 Feb 2019 10:55:39 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:44896 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727151AbfBPPzj (ORCPT ); Sat, 16 Feb 2019 10:55:39 -0500 Received: by mail-pf1-f196.google.com with SMTP id u6so6292754pfh.11; Sat, 16 Feb 2019 07:55:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2cdNJAk00NqblLXAdxnWPPF7Q6Ink04YZU2buJE2s9Q=; b=bDmtv8noM+o8vJq0YTxXYsEcXGK956sHlj5sXALw3dD+7RoRa8Rhfmzv+y6z25uqPz AYoADeal8HYtbsWGp+sQypDgf6u8vhc1WmjO8241f+sGrBbU/paduNrPRICvTCPM/Oin 0+bvgPcMAVIrh7HKtnBwVAx0gy96EyClp6hLAd8mKQE230VbYphn9/37+KAY2R/u81kZ ApxNF8UWJY00uA2CLA9CJoJ5Ql94vG3EUiO3jigysZio7MEDjZ+11kP6m7bko/n4yrsN w3Cf93gNj1DLsSD8VvRZPOKDesql1pBJMKkZlOBIrBb4M12FcTyTMjHfej+rDvdQJb6k hLjg== 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:in-reply-to :references; bh=2cdNJAk00NqblLXAdxnWPPF7Q6Ink04YZU2buJE2s9Q=; b=YKwBdhRYzkktF8MNkxn0rU4M+4gUtzS5pa88Zk3Yo2vWr3TTWspRRuZA5NnN+rmMFO Sdddd5BUJUMjID7j+MSSHjhFt5jbLyX1iAr1ppuU6p6JOdroWwNdDZHYfD+dUedslAkx BCER9dxPy+x5ZPuDQlkDVbHWvYoADPxXPiNI8+23TjZyFyY/fL6H5x/hes+U7dLUrDHy kpV1tWcVGkDqg/l9Q4n2BMTfprI6gFI8tdFazNx4W2utB2yfmk9ddUka9uC+GTRvM4E8 OmsLXA/c2xNhvU56JgTfFdxeHe2WUIkJA7l/BGXX2PrUvn5z5httVxo0cqAYsNJBq/I4 WL9g== X-Gm-Message-State: AHQUAubu+qWTvOGtlnVzNGq/Qi+9i+IzQhWrAhqlpCdKj0ihcZTm7wIU Yp6Qet7QdlHdRD7QAl53/RFuIX+WjQE= X-Google-Smtp-Source: AHgI3IYgPn/QtEUpJA7x9iYtULyDpDC+t5fzSEsPNCvLXogeUrsLwBR94NpHOycBuPg1sIPO38CeeA== X-Received: by 2002:a63:112:: with SMTP id 18mr10218055pgb.139.1550332538553; Sat, 16 Feb 2019 07:55:38 -0800 (PST) Received: from localhost (68.168.130.77.16clouds.com. [68.168.130.77]) by smtp.gmail.com with ESMTPSA id y9sm12670775pfi.74.2019.02.16.07.55.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 16 Feb 2019 07:55:37 -0800 (PST) From: Yangtao Li To: rjw@rjwysocki.net, viresh.kumar@linaro.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Yangtao Li Subject: [PATCH 1/2] cpufreq: pcc-cpufreq: remove unneeded semicolon Date: Sat, 16 Feb 2019 10:55:26 -0500 Message-Id: <20190216155527.11839-2-tiny.windzz@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20190216155527.11839-1-tiny.windzz@gmail.com> References: <20190216155527.11839-1-tiny.windzz@gmail.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The semicolon is unneeded, so remove it. Signed-off-by: Yangtao Li --- drivers/cpufreq/pcc-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/pcc-cpufreq.c b/drivers/cpufreq/pcc-cpufreq.c index 099a849396f6..1e5e64643c3a 100644 --- a/drivers/cpufreq/pcc-cpufreq.c +++ b/drivers/cpufreq/pcc-cpufreq.c @@ -268,7 +268,7 @@ static int pcc_get_offset(int cpu) if (!pccp || pccp->type != ACPI_TYPE_PACKAGE) { ret = -ENODEV; goto out_free; - }; + } offset = &(pccp->package.elements[0]); if (!offset || offset->type != ACPI_TYPE_INTEGER) { From patchwork Sat Feb 16 15:55:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangtao Li X-Patchwork-Id: 10816297 X-Patchwork-Delegate: viresh.linux@gmail.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 553B013BF for ; Sat, 16 Feb 2019 15:56:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 43A1B29D3B for ; Sat, 16 Feb 2019 15:56:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 37FA72C13E; Sat, 16 Feb 2019 15:56:06 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 E751B29D3B for ; Sat, 16 Feb 2019 15:56:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730545AbfBPPzm (ORCPT ); Sat, 16 Feb 2019 10:55:42 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:46746 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727151AbfBPPzl (ORCPT ); Sat, 16 Feb 2019 10:55:41 -0500 Received: by mail-pl1-f195.google.com with SMTP id o6so6458600pls.13; Sat, 16 Feb 2019 07:55:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=StebgaWkJn+wWz7B4sEy16s1bgip/Xp6UWFV/GYPtng=; b=GFXNSwlk2MawfF5n0PSY4ASiTNiHeAbDhqycEiXNLYAMp1nBz9mQeuatkADRG/Wwz1 EtJEIfVAXC43Y1TY5SADMABb4gjJHZuhoBmdecJepXmvys7unccSPYY5ODr8WbzAqijp GDCLAlzyK678bz5p7vurnQzAWxinxLJfDMnKIyVSDeWEUj5pqrgqvVKKsObM8dkUyygi mFK0xfG6P7T53A2ylHScV1WF5wreQ1dEW06A+FWR9BZBBdh71mCllT43VadU4fz4lfkD +TcJLptQ1kLKo3v9CFVtt6IVKGQtDm3gPFZqOuUgAQVPFAGfeWetv/8xGxDsucnpOLp/ 3zYw== 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:in-reply-to :references; bh=StebgaWkJn+wWz7B4sEy16s1bgip/Xp6UWFV/GYPtng=; b=Bsc0w7lCnxthaGnHllJU6Qj/Cd/IdzoSgC/uYzZS2efrefb/A4h1i9LYJhtQm7Zf1W RxL+eydBjhKUBmtt0GNl9jY3JBgkJ1VJYHKLHB26bai5RFpCYfG2T8J/ncYF/9D7SwV8 7M+6TFZMw9KYaVSjo7tizqX5mQyuyBr5tXzuGsDOcDQX6O4GCc8lNvLz/Qv5qX3/DjZ5 8o8t3S5ymvpbh3Bxv0eco58l6se23vCqQynren8irloOpLUYlGPa63ft3Wugg8uktZbm ZiVg1pft0aUZ/eO298rfvRHIdaUIN0PGGEoRF13sPWtYE6w/62q8yNt5wS+7Z9wQPQ3z UXIw== X-Gm-Message-State: AHQUAuZXJp8AxdvSl8F1mDQStEb7Gk9H0oks7EuFIG6lbnWcdg3Wwpqu SoPHF4dK29OTjzD4atMWja21JbE/93o= X-Google-Smtp-Source: AHgI3IYN9Jr/s+AdiISROKQn6AG5JH2srEnrfXytDCQN3bEUkseJNp5K3bA8ekxIbl2krAEjseXk7w== X-Received: by 2002:a17:902:509:: with SMTP id 9mr15097942plf.94.1550332541340; Sat, 16 Feb 2019 07:55:41 -0800 (PST) Received: from localhost (68.168.130.77.16clouds.com. [68.168.130.77]) by smtp.gmail.com with ESMTPSA id u66sm14823319pfi.115.2019.02.16.07.55.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 16 Feb 2019 07:55:40 -0800 (PST) From: Yangtao Li To: rjw@rjwysocki.net, viresh.kumar@linaro.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Yangtao Li Subject: [PATCH 2/2] cpufreq: longhaul: remove unneeded semicolon Date: Sat, 16 Feb 2019 10:55:27 -0500 Message-Id: <20190216155527.11839-3-tiny.windzz@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20190216155527.11839-1-tiny.windzz@gmail.com> References: <20190216155527.11839-1-tiny.windzz@gmail.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The semicolon is unneeded, so remove it. Signed-off-by: Yangtao Li --- drivers/cpufreq/longhaul.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/longhaul.c b/drivers/cpufreq/longhaul.c index 279bd9e9fa95..fb546e0d0356 100644 --- a/drivers/cpufreq/longhaul.c +++ b/drivers/cpufreq/longhaul.c @@ -851,7 +851,7 @@ static int longhaul_cpu_init(struct cpufreq_policy *policy) case TYPE_POWERSAVER: pr_cont("Powersaver supported\n"); break; - }; + } /* Doesn't hurt */ longhaul_setup_southbridge();