From patchwork Thu Sep 15 10:45:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 76268 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp2367580qgf; Thu, 15 Sep 2016 03:45:35 -0700 (PDT) X-Received: by 10.66.253.7 with SMTP id zw7mr13284503pac.25.1473936335271; Thu, 15 Sep 2016 03:45:35 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fn10si3733019pab.94.2016.09.15.03.45.34; Thu, 15 Sep 2016 03:45:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934345AbcIOKpc (ORCPT + 27 others); Thu, 15 Sep 2016 06:45:32 -0400 Received: from mail-qk0-f170.google.com ([209.85.220.170]:32912 "EHLO mail-qk0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933862AbcIOKna (ORCPT ); Thu, 15 Sep 2016 06:43:30 -0400 Received: by mail-qk0-f170.google.com with SMTP id w204so42492339qka.0 for ; Thu, 15 Sep 2016 03:43:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=VCtxCEBk8nmBmIpG2Fgl2z8yIMUQzILkYnO628HkqlE=; b=WumY5fl0uUA4WfoWTr1mIa1h3ybiT8fPd/y9OKnF7W+OGqCpDwJLp2vjdU+XVjOQcZ nSu2N/8CJgr8eAWwFfqOVrJj6j/rDL9bRHvmM9n2zCx8l4pLNDffDIxUxib88GApniNq v/oa5d9kuJuZSr9StZfPvvpp/x9RAGcBg5JtE= 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:in-reply-to :references; bh=VCtxCEBk8nmBmIpG2Fgl2z8yIMUQzILkYnO628HkqlE=; b=R/pWL9aL90o88pTBO9tYZe98Cgb3/AhXRqmAwnTQSx65mMU17jRT2NtIErwl11quWw a6/q5TWWzd4/UbLDtde4SWnFKwrLXclX8fzA9QnY4v7RZ6Auw/kbOAtX3JBnucsC1ixG uZVFz5NU4xyclLaQwox320K4+1Z6zPZ9Wl2GdAd6aLSakWfV2TdrRx6eWv8vYxZ52GOQ MyHfl/AuB5cwvGQCMDG8gSStVGKVU08On+XaLivGOcbovihL4tpNThNasDUJyBjMrxn3 uBSRAF3+KH0PTG14IMsEIZee2SvVRUcZwwwQxp//2RvhXmaLP4PG6Zc3vYDlb0/H2k0U 95gA== X-Gm-Message-State: AE9vXwN3wYPdIjIkg3j8ZmfyLN/tIPWESONEM2Nfxlto0pLd8AZLmKSuSRWieRGQca2fg91k X-Received: by 10.194.134.161 with SMTP id pl1mr7467740wjb.81.1473936208859; Thu, 15 Sep 2016 03:43:28 -0700 (PDT) Received: from dell.home (host31-51-85-248.range31-51.btcentralplus.com. [31.51.85.248]) by smtp.gmail.com with ESMTPSA id e2sm2861231wjn.11.2016.09.15.03.43.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Sep 2016 03:43:28 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org, tony@atomide.com, linux-omap@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/7] mfd: ab8500-debugfs: Remove 'weak' function suspend_test_wake_cause_interrupt_is_mine() Date: Thu, 15 Sep 2016 11:45:19 +0100 Message-Id: <20160915104521.14286-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160915104521.14286-1-lee.jones@linaro.org> References: <20160915104521.14286-1-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are no other functions which can over-ride it. Signed-off-by: Lee Jones --- drivers/mfd/ab8500-debugfs.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) -- 2.9.3 diff --git a/drivers/mfd/ab8500-debugfs.c b/drivers/mfd/ab8500-debugfs.c index b948088..acf6c00 100644 --- a/drivers/mfd/ab8500-debugfs.c +++ b/drivers/mfd/ab8500-debugfs.c @@ -1522,18 +1522,10 @@ static u32 num_interrupts[AB8500_MAX_NR_IRQS]; static u32 num_wake_interrupts[AB8500_MAX_NR_IRQS]; static int num_interrupt_lines; -bool __attribute__((weak)) suspend_test_wake_cause_interrupt_is_mine(u32 my_int) -{ - return false; -} - void ab8500_debug_register_interrupt(int line) { - if (line < num_interrupt_lines) { + if (line < num_interrupt_lines) num_interrupts[line]++; - if (suspend_test_wake_cause_interrupt_is_mine(irq_ab8500)) - num_wake_interrupts[line]++; - } } static int ab8500_interrupts_print(struct seq_file *s, void *p)