From patchwork Thu Jan 1 17:49:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rickard Strandqvist X-Patchwork-Id: 5557491 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id EBBFDBF6C3 for ; Thu, 1 Jan 2015 17:49:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1EF572022D for ; Thu, 1 Jan 2015 17:49:26 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 43F8720225 for ; Thu, 1 Jan 2015 17:49:25 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y6jqB-0007Oa-JV; Thu, 01 Jan 2015 17:47:19 +0000 Received: from mail-wg0-f47.google.com ([74.125.82.47]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y6jq7-0007J9-D1 for linux-arm-kernel@lists.infradead.org; Thu, 01 Jan 2015 17:47:16 +0000 Received: by mail-wg0-f47.google.com with SMTP id n12so23311122wgh.20 for ; Thu, 01 Jan 2015 09:46:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=1rCCBYKqJtEZgPwa9R/5h+SVLjeWJdlcESl4Tw1I2TA=; b=A6gScpXuoUYIJTHACtcm8My/xPBoUNvkur7wAGdE/H9mj5rJAIMnxmQd9+bg7+c1UL SeIVen8VPpqXw1DGotd2A+uk/fZjnfN/jEj2wRpy1JmTaJ6X4P8e36x+NNRDZQ+OvUjv pKKS2nmCpYQ2+goWS/3IE0Z4p54lQKy5xTOTmSAiJNbi4/K++a4NmiZHK/QkRxJXuycK k2wUspNB6mADEn2qJVVJ+D5U7oZJFZ/C6QU3X838CgJb6GVjII0tH0I3xv8YixoQybom 3fVc5KTkqZN5x7p0FQV36oXD6mE/R5xZkNOcG7LHSuXVzdb8WmjxrkhnoXLb69fpZkqw 7KAA== X-Gm-Message-State: ALoCoQkynNzn7Te2v98NicDuOELlNljn45AtHyPWkgh7ExzCjHQ3zEmZ2bJ4pLwobruDHUB2JaMm X-Received: by 10.180.77.7 with SMTP id o7mr124195836wiw.81.1420134412564; Thu, 01 Jan 2015 09:46:52 -0800 (PST) Received: from localhost.localdomain (h-246-111.a218.priv.bahnhof.se. [85.24.246.111]) by mx.google.com with ESMTPSA id b10sm15392610wjr.32.2015.01.01.09.46.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Jan 2015 09:46:51 -0800 (PST) From: Rickard Strandqvist To: Linus Walleij , Samuel Ortiz Subject: [PATCH] mfd: db8500-prcmu: Remove unused function Date: Thu, 1 Jan 2015 18:49:53 +0100 Message-Id: <1420134593-690-1-git-send-email-rickard_strandqvist@spectrumdigital.se> X-Mailer: git-send-email 1.7.10.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150101_094715_611880_40463309 X-CRM114-Status: UNSURE ( 9.30 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: devicetree@vger.kernel.org, Rickard Strandqvist , linux-kernel@vger.kernel.org, Rob Herring , Grant Likely , Lee Jones , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove the function prcmu_get_boot_status() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist Acked-by: Arnd Bergmann Acked-by: Linus Walleij --- drivers/mfd/db8500-prcmu.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c index 193cf16..b517501 100644 --- a/drivers/mfd/db8500-prcmu.c +++ b/drivers/mfd/db8500-prcmu.c @@ -675,15 +675,6 @@ bool prcmu_has_arm_maxopp(void) } /** - * prcmu_get_boot_status - PRCMU boot status checking - * Returns: the current PRCMU boot status - */ -int prcmu_get_boot_status(void) -{ - return readb(tcdm_base + PRCM_BOOT_STATUS); -} - -/** * prcmu_set_rc_a2p - This function is used to run few power state sequences * @val: Value to be set, i.e. transition requested * Returns: 0 on success, -EINVAL on invalid argument