[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180320013836.hiu6oy3smwmk35tp@vireshk-mac-ubuntu>
Date: Tue, 20 Mar 2018 09:38:36 +0800
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Zhang Rui <rui.zhang@...el.com>
Cc: Eduardo Valentin <edubezval@...il.com>,
Vincent Guittot <vincent.guittot@...aro.org>,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org
Subject: Re: [PATCH V4] thermal: Add cooling device's statistics in sysfs
On 14-03-18, 13:44, Viresh Kumar wrote:
> I got those warnings as well, and I quietly ignored them :)
>
> I ignored the renaming part for the sake of consistency. The other existing
> routines for similar purpose are named as:
>
> thermal_cooling_device_type_show
> thermal_cooling_device_max_state_show
> thermal_cooling_device_cur_state_show
> thermal_cooling_device_cur_state_store
>
> for me it made more sense to follow that naming convention. And I didn't use the
> _RO and _WO variants for the same reason.
>
> Now here is what I propose now:
>
> - You apply this patch as-is and ignore the warning.
>
> - I will send few patches on top of that to do:
> - renaming of all such routines to shorter versions.
> - Use the _RO or _WO variants of the macro everywhere.
>
> What do you say ?
@Zhang: Can you please share the way you want this to get merged ? And if the
above is fine with you ?
--
viresh
Powered by blists - more mailing lists