From patchwork Wed May 9 08:46:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 135219 Delivered-To: patches@linaro.org Received: by 10.46.151.6 with SMTP id r6csp5371312lji; Wed, 9 May 2018 01:46:48 -0700 (PDT) X-Received: by 2002:a19:d853:: with SMTP id p80-v6mr16183755lfg.36.1525855608220; Wed, 09 May 2018 01:46:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525855608; cv=none; d=google.com; s=arc-20160816; b=lrdDIiYX1buLE/0JCZrFbUcyx0vmXf9uwPUPRgEzpdVhj6MAeWvdQHb4WC5sr1aFIW vcbRs3q0vP88+MXWDEYzoBFu7TR4F6au4Psl+0O7/0OZQVq98KlGOxRwvcXSAWSf4TIS Z8AnYxR82v02ymAMn0LJE1sJrvwaDS/DuVrhcpT/gEIThDZ0QTfbAo4634OsbMI4cysO UYVVX+KpxegPU1+re6twLag0N69mYLTJwlK9OqsZ7sEueKMa84v0ubnRtKdoH1o2EUau BN3Fa54/2fOvUWzLOzI+pTE6TC/15BFXS8M0IZmY+KAEYqq7xEg4xaw1Mg142K1qeLy7 yHMg== 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=vgS5fCAOQsUQExSPFSMDUOvOLLKflCb8F06amDzR6bE=; b=HZFHcg5j5cBrMu01+6nCZ94nXZlLEfP1gz8ta0bL7JPGB9by1PRPygN+Mj0KLBFXD9 FvQQgCKYzObKFt28MhtSzLJykq5D7iLk5KDMl06/NhbY6rc5cR3a8A6k+4N1tml9DgcP Pr0TEB9Vu3IqH8upU+TUhHf1rUZZaYgzx2q2vxF2J/lEu48VNtR6YVtmJQN/Qw8Fhnx6 pNHLTnZOWfsLbLhdiKRok+4SCfMxaydnvb+6PR+l0iCfnNsMTVZ07CuD1uYh9F6tMV53 4sghan/hQkLLq64ChoH7jC7IsSlvhiodhDHC6TFmG7yb7cdKD6qd8hRBuexwGiA4SN2u OIZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=di53uKlK; 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 28-v6sor1327687lfy.51.2018.05.09.01.46.48 for (Google Transport Security); Wed, 09 May 2018 01:46:48 -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=di53uKlK; 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=vgS5fCAOQsUQExSPFSMDUOvOLLKflCb8F06amDzR6bE=; b=di53uKlKs3OQ38aRBSk3NkbOGZwT/M8co1iKE0db6Nh5vniKu1pPsD8PvpxUld03PB E8Ohjytk0+vSp1cbsgR4dN8of7ffbJoR0UFf4B4IJf/aHamrSUrZyUu/6XZZOprOKwBb ifAlX7BIBT+PAufMYaSlwEdLE7deaULO8ZeH8= 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=vgS5fCAOQsUQExSPFSMDUOvOLLKflCb8F06amDzR6bE=; b=nQbAmaVsXMq9gfay3GRMU5Mz3A+o2iMm9qmrOERDhNyxVywQcz/9P/Oyvta2cYiSF9 YYCN7I7ztjly08INokcJFlOjwv8cP0CCyDptoPBu99C4htDMJFgSD2ed5P+88t5jHlKZ 5d/YdPXyCCzEbibKafTs0WslAqZIS9e1ONbTH+PyE/yGljRGa5b7wAfKlCrlBzxeZ0VA lT847Dr861Rd8LVwizUdRE5E8gFBg2D90vwuCt8FAdqN9LG0GJvgUctctAw6X2XShiRL 107FhnRDx+Kh2fPVESJWbcwtNAOU0d9j07Ij/2PL6pxMrr/y9JqBiL9bUre44kKRcudL lW/A== X-Gm-Message-State: ALKqPwf0xcOv+BuuN6qFw0M5v2Oh9sdNkFS7SgmUWFdR41dsJz9ItKNq YFQTrnXXUBAXwB+GFn787ee/EkeAFEDasw== X-Google-Smtp-Source: AB8JxZq3g94OtzrRc8qXC4R2QZRzB19Zj95VtE6oE+ydEb+NlZ/33B9FHB5iYUpQ/7M6w33m7j+2KQ== X-Received: by 2002:a19:9881:: with SMTP id a123-v6mr8144105lfe.109.1525855608038; Wed, 09 May 2018 01:46:48 -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.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 May 2018 01:46:47 -0700 (PDT) From: Ulf Hansson To: "Rafael J . Wysocki" , linux-pm@vger.kernel.org Cc: Ulf Hansson , Viresh Kumar , Tony Lindgren Subject: [PATCH 1/4] PM / core: Drop internal unused inline functions for wakeups Date: Wed, 9 May 2018 10:46:33 +0200 Message-Id: <1525855596-18116-2-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 device_wakeup_arm|disarm_wake_irqs(), which are available while when CONFIG_PM is set and CONFIG_PM_SLEEP unset, are not being used, hence let's drop them. Signed-off-by: Ulf Hansson --- drivers/base/power/power.h | 8 -------- 1 file changed, 8 deletions(-) -- 2.7.4 Acked-by: Tony Lindgren diff --git a/drivers/base/power/power.h b/drivers/base/power/power.h index 86e67e7..f38d178 100644 --- a/drivers/base/power/power.h +++ b/drivers/base/power/power.h @@ -56,14 +56,6 @@ static inline void device_wakeup_detach_irq(struct device *dev) { } -static inline void device_wakeup_arm_wake_irqs(void) -{ -} - -static inline void device_wakeup_disarm_wake_irqs(void) -{ -} - #endif /* CONFIG_PM_SLEEP */ /*