From patchwork Wed May 9 08:46:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 135221 Delivered-To: patches@linaro.org Received: by 10.46.151.6 with SMTP id r6csp5371359lji; Wed, 9 May 2018 01:46:51 -0700 (PDT) X-Received: by 2002:a2e:93cf:: with SMTP id p15-v6mr11584306ljh.30.1525855611583; Wed, 09 May 2018 01:46:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525855611; cv=none; d=google.com; s=arc-20160816; b=XMx/0y0F6SMLlfGSzak2rPdhGUsvoob/vROVxboZ60l/VmVAhb8xwlKgFKUGkmYNsG 6DrxPlfE+mrnkxLFgLVBxp2s3jecHwCnxUtBmqRuk+IBFk3HX3YWEWr5ukSJVQbAfI92 3rkk3tUhSMUxy0hr6p8J1v3N922D/gBCiAPjZ4slFX4jLSSwLZHpVA5VcGwp+IMcZ17Y Pc4cGayu7q+pBQFV8n3+HWWjZb8bpjZ5NFioEs0TpOrSFqN6eCLkQ/8Ooaz6ixuNS0j1 78uC69azMFV6AOKlDNrfrnut844F3uh7yFfo0YqUtaP/vpBlIdJmFBMZ0dK2Oy5eeMbs M96Q== 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=33tzDe8ADTEmkk0juQOGhpEA0o4oP9vqO1n2F+RmMT8=; b=k/8dbdd79JjdG+eWngyxKaMuh+othIT0Ve/KYGjOvxv9UHKlNOYd8atMDycR0QsnWx EZPHYuR82QoM+9rbs6MXE4x/gWtLRT2V4X/mq8oonbjs8wgVv5c3xbxRxuLQStRd6BgI pleekm55pA2kxJi0UvWSQ+9t94PYVBrU33+gsW3plBpBj3bJZKQatBXDovGnCiKnsdCv LP1ybfyRULR1sef+fIs1wFO4VFUW5dRnKTL7FV7YwLGf+oyhcChVf9c10Krm2hrPeAF3 XqabQXGkukmdgnp4NiLotGwukVGYp9zfxlLf6Lgop1RszcKoPF9uWjh+Assft9doDWPu EWaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=isclDn6g; 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 m15-v6sor6050280ljg.67.2018.05.09.01.46.51 for (Google Transport Security); Wed, 09 May 2018 01:46:51 -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=isclDn6g; 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=33tzDe8ADTEmkk0juQOGhpEA0o4oP9vqO1n2F+RmMT8=; b=isclDn6gnq5zGJO/hdHTgsEVokuTkj7Xu2edccEHIJ/q8TfD44WNitZ5JOsIMrb0dp z6RkcUYCbyTj0aT+VvZw/2G75CO+AQcGXjy7NnDi1efZlxwRmbn3aLCUpt9+EndbtUlO EK/MJz82B1rSi6rT5elE+jGIVS7xpN46spd+k= 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=33tzDe8ADTEmkk0juQOGhpEA0o4oP9vqO1n2F+RmMT8=; b=Ax7S7HOd1S/50NUKwu1qWl6GmjbvNA+e56d8AtOF907jsUTIjDgdqHNtL1V0wyBQl0 6kmKy6HOoUgpUPrRbAGdMXTkxoE/H2RnroEL8KMYbsnWOBsbr3GnyqLSRuV7K3uqGi+i TWe/5TuhWgAJ+l1r0HWIhz/m+Rzqs7LWv588YFDpg2bmUMyR+6PHbETgcKS1An/cvjF2 caafBk86pHmXK0eF5XF7XGjIw+DZXEqQZkoHsJ7W48Kz+FCRhUJtNdCyDArnf8b8Nj4s DBXyOIRqpbydbZE0vm0g3k1MyPP6H41FZDTKw0PwDbMUGUD2qsQKyd3X1ps/AEQDFXUE NAfg== X-Gm-Message-State: ALKqPwf1xBSa1riK3SZIP4h+2GM0uUimVOrEUpw+EuiF0kDscMAXS67F QDh78583mzsqSzZrL980DJFYeReE X-Google-Smtp-Source: AB8JxZqPlduwNpVbHwHSpQaSPzL3QX4wvaeIIP+vqr/VOv4etSdDCe21SlK659TXsCMbrDDFKzy4/Q== X-Received: by 2002:a2e:650a:: with SMTP id z10-v6mr11544775ljb.41.1525855611396; Wed, 09 May 2018 01:46:51 -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.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 May 2018 01:46:50 -0700 (PDT) From: Ulf Hansson To: "Rafael J . Wysocki" , linux-pm@vger.kernel.org Cc: Ulf Hansson , Viresh Kumar , Tony Lindgren Subject: [PATCH 3/4] PM / core: Drop unused internal functions for pm_qos sysfs Date: Wed, 9 May 2018 10:46:35 +0200 Message-Id: <1525855596-18116-4-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 functions pm_qos_sysfs_add|remove() are available as inline functions only while CONFIG_PM is unset, but are not being used. Likely they are a leftover from an earlier cleanup in the past, anyway let's drop them. Signed-off-by: Ulf Hansson --- drivers/base/power/power.h | 2 -- 1 file changed, 2 deletions(-) -- 2.7.4 diff --git a/drivers/base/power/power.h b/drivers/base/power/power.h index be40910..78bbb5d 100644 --- a/drivers/base/power/power.h +++ b/drivers/base/power/power.h @@ -90,8 +90,6 @@ static inline void dpm_sysfs_remove(struct device *dev) {} static inline void rpm_sysfs_remove(struct device *dev) {} static inline int wakeup_sysfs_add(struct device *dev) { return 0; } 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) {} #endif