Re: [PATCH v4 1/9] w1_therm: creating w1_therm.h

2020-05-06 Thread Akira shimahara
Le mercredi 06 mai 2020 à 08:51 +0200, Greg KH a écrit : > > > Why is this function needed to be declared in this .h file? > > > Why is any of this needed? For some reason I thought you needed > > > a .h > > > file to make things simpler for other .c files, but if all of > > > this is > > > static

Re: [PATCH v4 1/9] w1_therm: creating w1_therm.h

2020-05-05 Thread Greg KH
On Tue, May 05, 2020 at 11:04:39PM +0200, Akira shimahara wrote: > Le mardi 05 mai 2020 à 16:48 +0200, Greg KH a écrit : > > > Creating w1_therm.h header to organize code. Organize the > > > w1_therm.c file > > > to gather hardware functions, device specific functions, interface > > > functions and

Re: [PATCH v4 1/9] w1_therm: creating w1_therm.h

2020-05-05 Thread Akira shimahara
Le mardi 05 mai 2020 à 16:48 +0200, Greg KH a écrit : > > Creating w1_therm.h header to organize code. Organize the > > w1_therm.c file > > to gather hardware functions, device specific functions, interface > > functions and sysfs functions. > > Signed-off-by: Akira Shimahara > > --- > > drivers

Re: [PATCH v4 1/9] w1_therm: creating w1_therm.h

2020-05-05 Thread Greg KH
On Thu, Apr 30, 2020 at 12:59:15AM +0200, Akira Shimahara wrote: > Creating w1_therm.h header to organize code. Organize the w1_therm.c file > to gather hardware functions, device specific functions, interface > functions and sysfs functions. > > Signed-off-by: Akira Shimahara > --- > drivers/w1

[PATCH v4 1/9] w1_therm: creating w1_therm.h

2020-04-29 Thread Akira Shimahara
Creating w1_therm.h header to organize code. Organize the w1_therm.c file to gather hardware functions, device specific functions, interface functions and sysfs functions. Signed-off-by: Akira Shimahara --- drivers/w1/slaves/w1_therm.c | 302 +++ drivers/w1/slaves