Re: [PATCH v7 1/9] w1_therm: adding code comments and code reordering

From: Greg KH
Date: Fri May 15 2020 - 10:29:43 EST


On Mon, May 11, 2020 at 10:35:35PM +0200, Akira Shimahara wrote:
> Adding code comments to split code in dedicated parts. After the global
> declarations (defines, macros and function declarations), code is organized
> as follow :
> - Device and family dependent structures and functions
> - Interfaces functions
> - Helpers functions
> - Hardware functions
> - Sysfs interface functions
>
> Signed-off-by: Akira Shimahara <akira215corp@xxxxxxxxx>
> ---
> Main motivation on the first patch of this serie is to clean up the code,
> document it and reorder it to prepare the next patches, which are clearer
> after this.
>
> One main point is to keep all device/family dependent code gather at the
> beginning to ease adding new devices if required.

Thanks for sticking with this. Nice work, all now queued up.

greg k-h