[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YGS6NraFr6+qvzda@kroah.com>
Date: Wed, 31 Mar 2021 20:06:46 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Daniel Lezcano <daniel.lezcano@...aro.org>
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
lukasz.luba@....com, rafael@...nel.org
Subject: Re: [PATCH v5 2/5] powercap/drivers/dtpm: Create a registering system
On Wed, Mar 31, 2021 at 01:00:45PM +0200, Daniel Lezcano wrote:
> +struct dtpm *dtpm_lookup(const char *name);
> +
> +int dtpm_add(const char *name, struct dtpm *dtpm);
> +
> +void dtpm_del(const char *name);
You can not add new kernel apis that have no user. How do you know if
they actually work or not? We have no idea as we do not see anyone
using them :(
So no need to add things with no user, feel free to just drop this patch
until you have one.
thanks,
greg k-h
Powered by blists - more mailing lists