From patchwork Mon Aug 19 22:41:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 11102223 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B2F3D13B1 for ; Mon, 19 Aug 2019 22:42:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9286C22CF4 for ; Mon, 19 Aug 2019 22:42:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Lgsaurir" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728665AbfHSWmB (ORCPT ); Mon, 19 Aug 2019 18:42:01 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:32949 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728402AbfHSWmB (ORCPT ); Mon, 19 Aug 2019 18:42:01 -0400 Received: by mail-pl1-f196.google.com with SMTP id go14so1664100plb.0 for ; Mon, 19 Aug 2019 15:42:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=reYP0h0U7AmT0WrP1r9OhGz/zHx/dWGpS47L5kEvrB4=; b=Lgsaurir0+vXieqGBAsFYErA1pf8znPOLAnScMKvk2AKkO7TJFak9PsJqvMDrFYtcP XGBPaDwHhYNow7DPU9chuTbZ7MUjMHjOGDyQNb86MD5mA7rkwL7fTIMFVVg68jb6O72y w11XrBEslBdoL64VF6i3H/RXt8wkLZnZUvcfs= 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:mime-version :content-transfer-encoding; bh=reYP0h0U7AmT0WrP1r9OhGz/zHx/dWGpS47L5kEvrB4=; b=uIF/laIGWNs3O2DMIVdFCkTvXx2318KieQCh/WQLv65hrp8UlU2Yzp+ul4HKVCth2u CumcrWy/Z89AC67VvOaOeYiCV3jhTKjU5dUomBfc6zp4ux+ZXWCq2ziDLDMlSajWAB86 lJOsFLP5ORlwvWVCTIADzbGQAMxCRZ/p90oaZEin5UCFC6l1Eyyavd90BaqJTtkFqeWk ieH92fqmo/fML+6cIM6PnsdaZg1TSxkTejsv7UWZy1Opvu+DkmDf0TfDbCyOOANp6Hvs Enxu6ypjcTfCDvkNjqjmKNC2TSJS9QtwD0hihwwmzalJKx9ifH00PGxb1Qcc1gNIjh45 jp5w== X-Gm-Message-State: APjAAAXXAkIuZGGTkbzdKyHJPt3WBOaweMfE5bmz3QeNT9ByWq5S2Zwg qhLMqWsTc8ptsfV/pZaGOHtLOA== X-Google-Smtp-Source: APXvYqx15lSE+3yIW/SMck4E32gHXzRXUQD/plAankqzSR89Skg+JyZqnpnElq8HYfy3LIJYu6L8hg== X-Received: by 2002:a17:902:aa03:: with SMTP id be3mr25071415plb.240.1566254520200; Mon, 19 Aug 2019 15:42:00 -0700 (PDT) Received: from smtp.gmail.com ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id e9sm16841593pge.39.2019.08.19.15.41.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Aug 2019 15:41:59 -0700 (PDT) From: Stephen Boyd To: "Rafael J. Wysocki" Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Qian Cai , Tri Vo Subject: [PATCH v4 0/2] PM / wakeup: Fix wakeup class wrecakge in -next Date: Mon, 19 Aug 2019 15:41:56 -0700 Message-Id: <20190819224158.62954-1-swboyd@chromium.org> X-Mailer: git-send-email 2.23.0.rc1.153.gdeed80330f-goog MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Resending the patch series to pick up the tags and fix the subject on patch #2. I didn't drop the "Fixes" tags even though they're just in -next and the patches have been dropped in the latest version. Please update them in the future so we know what commit they're fixing if the commits change in the pm tree. Changes from v3: * Picked up reviewed-by tags from Tri Vo * Fixed Cc tag on patch 2 * Fixed subject on patch 2 to speak about proper symbols Changes from v2: * Fix logic for not adding the wakeup class from dpm_sysfs_add() * Compile tested on !CONFIG_PM_SLEEP Cc: Qian Cai Cc: Tri Vo Stephen Boyd (2): PM / wakeup: Register wakeup class kobj after device is added PM / wakeup: Unexport wakeup_source_sysfs_{add,remove}() drivers/base/power/power.h | 9 +++++++++ drivers/base/power/sysfs.c | 6 ++++++ drivers/base/power/wakeup.c | 10 ++++++---- drivers/base/power/wakeup_stats.c | 15 +++++++++++++-- 4 files changed, 34 insertions(+), 6 deletions(-) base-commit: 0c3d3d648b3ed72b920a89bc4fd125e9b7aa5f23