Re: [PATCH] PM / QOS: Remove the global notifiers

From: Kevin Hilman
Date: Mon Mar 13 2017 - 17:32:33 EST


Ulf Hansson <ulf.hansson@xxxxxxxxxx> writes:

> On 13 March 2017 at 17:01, Ulf Hansson <ulf.hansson@xxxxxxxxxx> wrote:
>> On 22 February 2017 at 09:28, Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
>>> They were never used in the kernel, not sure why they got merged into
>>> the kernel though. Get rid of them.
>>
>> commit b66213cdb002b08b29603d488c451dfe25e2ca20
>> Author: Jean Pihet <j-pihet@xxxxxx>
>> Date: Thu Aug 25 15:35:47 2011 +0200
>>
>> PM QoS: Add global notification mechanism for device constraints
>>
>> Add a global notification chain that gets called upon changes to the
>> aggregated constraint value for any device.
>> The notification callbacks are passing the full constraint request data
>> in order for the callees to have access to it. The current use is for the
>> platform low-level code to access the target device of the constraint.
>>
>> Signed-off-by: Jean Pihet <j-pihet@xxxxxx>
>> Reviewed-by: Kevin Hilman <khilman@xxxxxx>
>> Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>
>>
>> It was a while ago since they were added, but it seems like
>
> Slipped on the keyboard, sorry for the noise.
>
> I was about to say, that it was a while ago these were added, but
> still not being used. Thus let's remove them.
>
> Acked-by: Ulf Hansson <ulf.hansson@xxxxxxxxxx>

Agreed. If we still have no users, let's remove them.

Acked-by: Kevin Hilman <khilman@xxxxxxxxxxxx>

Kevin