From patchwork Wed May 9 08:46:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 135220 Delivered-To: patches@linaro.org Received: by 10.46.151.6 with SMTP id r6csp5371342lji; Wed, 9 May 2018 01:46:49 -0700 (PDT) X-Received: by 2002:a19:9453:: with SMTP id w80-v6mr11965671lfd.15.1525855609941; Wed, 09 May 2018 01:46:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525855609; cv=none; d=google.com; s=arc-20160816; b=qNwAmGIPmCgFMaYlkiKkd6zUAstJkauBlHKP9Y6YyQzVDPLZA5y4x9fmHiv7L0ix6K 2si0/tJLUAXjkccouqdo099abW15Bi2cyEydeLoSuOC5L0ybDbqw5ht6b1YkXkkTOb2Q DKoCkIigo4SOq2NQW3DdEdiIs4o2kJzH9HH15k4XgPdol0slzKo7L6OtB05NFl0Ln3Q6 8EGq39vPCVJBEKn8YzO83GhnbpbqDehC18IhuXSMAFwFyXxXWdQ2gpSjb2/vpx4w+bbN ZfU72xP1bHZxdngPuLiaEDtjyflcp0TWp6vhJjkKEFv0idQYy+jISUWx3u2/soNvUGLg 38+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=R+MyGq5a7LJwn0prtuFwp3xOSS5A149EqOrt9jQOCak=; b=TGPj9RmlUIdjrFnCr4Lx1jOLqwR9Bp2Qm0AcoP4mgMYKmcLzO2MgBq2Gzy2sUpAgkv mD99A1SAyqQHMr20C0+5ojiQwOHskr55/MV9oKZSeohK4wJOSepr2E+9qS0IyD5Innnh GDWHo30AiS86u+2aGaVKgMygBub8dPaS8x+HyXjKyXkLaiOOtrhIAnRHX3nunLaYJPJq 9OksasNzeBL+gn6MVzh+PNLMGgP74M2x3MXMpWFI5yj9mDPQCOfHgCelpjLlrYs+RRVV axV+7pkXCn/IDGrefBfz2a+j363MZ5oqq771KNM1+8VKzj420/Wv5bncdLfLc1UX7qUh /NCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kMZstKhI; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id v14-v6sor6436132ljh.99.2018.05.09.01.46.49 for (Google Transport Security); Wed, 09 May 2018 01:46:49 -0700 (PDT) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kMZstKhI; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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=R+MyGq5a7LJwn0prtuFwp3xOSS5A149EqOrt9jQOCak=; b=kMZstKhIZTApNVy9WrXJxdV2/jb46cbl5gjViVM1dtYCmuIR+yq8huQycEe9nk1ZSW Aqqc5ANowr451gTijT4t8jdtbQuCWT+nbBTXDzEvaCkJyY/spleBexiM/01CU7UYqoR1 a9A5BiIpvysnP2hCvqwqSPfxb5GTLdXq5jY7g= 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=R+MyGq5a7LJwn0prtuFwp3xOSS5A149EqOrt9jQOCak=; b=E0fQxBegZxzz2SPrrcbHOonRKFpqAmDuKltrueVCOqJiofO9j2WbhCCSSEyCRmMKVY kIrS0xbP7vI4z6it/If5TVQCvLfieMWVe6LPJsf1WKpUxdm0I06JUvcykH1Z4wqwQJC6 lJFbHz1rp+Ev0D7ixKuvo4xaU+5y5MgFVKI/I3OJvLRiv6rWpwZjR619R7X9eDhG1frQ OQx+TdIOYMW/PgjIaI5Du+b9itf6VNGCR5aZ6jkciH9NvZie0GKLqeulV/SUlUqpby3g +nEfsdklusUq2c8lLQUlYI1CcCjh8l1u9vMpTTop2VjdH4qfdR9he5UdSej68AaDsnSu y3hA== X-Gm-Message-State: ALQs6tDO3WIDnkjawCb11AcHyFUmS7pD6ITQ18y7VSD54vjT+BLhFNak XW62tjm0duzGqmKXaGtXS/R4nX0+ X-Google-Smtp-Source: AB8JxZr99dcO7nwmG+hulJEuoufzNpY1r478sMg52nE4iIF2HMkkpNsp3C//gU96BemC2qCMBf/nWQ== X-Received: by 2002:a2e:9003:: with SMTP id h3-v6mr26680227ljg.33.1525855609748; Wed, 09 May 2018 01:46:49 -0700 (PDT) Return-Path: Received: from localhost.localdomain (c-5eeaaa12-74736162.cust.telenor.se. [94.234.170.18]) by smtp.gmail.com with ESMTPSA id l124-v6sm2048330lfg.62.2018.05.09.01.46.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 May 2018 01:46:48 -0700 (PDT) From: Ulf Hansson To: "Rafael J . Wysocki" , linux-pm@vger.kernel.org Cc: Ulf Hansson , Viresh Kumar , Tony Lindgren Subject: [PATCH 2/4] PM / core: Drop unused internal inline functions for wakeirqs Date: Wed, 9 May 2018 10:46:34 +0200 Message-Id: <1525855596-18116-3-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1525855596-18116-1-git-send-email-ulf.hansson@linaro.org> References: <1525855596-18116-1-git-send-email-ulf.hansson@linaro.org> The inline versions of dev_pm_arm|disarm_wake_irq() and dev_pm_enable|disable_wake_irq_check() are not being used while CONFIG_PM is unset, hence let's drop them. Signed-off-by: Ulf Hansson --- drivers/base/power/power.h | 17 ----------------- 1 file changed, 17 deletions(-) -- 2.7.4 Acked-by: Tony Lindgren diff --git a/drivers/base/power/power.h b/drivers/base/power/power.h index f38d178..be40910 100644 --- a/drivers/base/power/power.h +++ b/drivers/base/power/power.h @@ -93,23 +93,6 @@ static inline void wakeup_sysfs_remove(struct device *dev) {} static inline int pm_qos_sysfs_add(struct device *dev) { return 0; } static inline void pm_qos_sysfs_remove(struct device *dev) {} -static inline void dev_pm_arm_wake_irq(struct wake_irq *wirq) -{ -} - -static inline void dev_pm_disarm_wake_irq(struct wake_irq *wirq) -{ -} - -static inline void dev_pm_enable_wake_irq_check(struct device *dev, - bool can_change_status) -{ -} - -static inline void dev_pm_disable_wake_irq_check(struct device *dev) -{ -} - #endif #ifdef CONFIG_PM_SLEEP