w1_therm: adding code comments and code reordering
authorAkira Shimahara <akira215corp@gmail.com>
Mon, 11 May 2020 20:35:35 +0000 (22:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 May 2020 14:28:58 +0000 (16:28 +0200)
commit92b8d2724464bc1d2e735a84c0da5741dce33485
tree2457fee3df6573761399660c2c5b8614881ee3b8
parent691e0f2c74cce6866affcdd8277a7d4c521814dc
w1_therm: adding code comments and code reordering

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@gmail.com>
Link: https://lore.kernel.org/r/20200511203535.409599-1-akira215corp@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/slaves/w1_therm.c