From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viresh Kumar Subject: Re: [PATCH 04/18] cpufreq: Manage fallback policies in a list Date: Wed, 18 Feb 2015 09:53:07 +0530 Message-ID: References: <1746505.56yzpQ04cT@vostro.rjw.lan> <35613222.up9lS5n2CM@vostro.rjw.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-ob0-f182.google.com ([209.85.214.182]:52940 "EHLO mail-ob0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751568AbbBREXI (ORCPT ); Tue, 17 Feb 2015 23:23:08 -0500 Received: by mail-ob0-f182.google.com with SMTP id nt9so59870299obb.13 for ; Tue, 17 Feb 2015 20:23:07 -0800 (PST) In-Reply-To: <35613222.up9lS5n2CM@vostro.rjw.lan> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: "Rafael J. Wysocki" Cc: Saravana Kannan , Linaro Kernel Mailman List , "linux-pm@vger.kernel.org" , Stephen Boyd , Prarit Bhargava On 17 February 2015 at 23:45, Rafael J. Wysocki wrote: >> - And then during unregistration the sysfs remove will get called? I meant subsys-remove here, sorry :( > The CPU device goes away then and that should trigger the remove of all the > sysfs directories under it. How will the cpufreq core know about it? cpufreq_remove_dev() will get called? Is there a way to emulate it? So that I can test it in my setup..