Re: [PATCH] hwmon (lm63) Do not overwrite data->kind

2018-11-13 Thread Guenter Roeck
On Mon, Nov 12, 2018 at 08:36:56PM -0800, Nicolin Chen wrote: > According to the code right before the removed line, data->kind > should be either from DT or from id pointer. So there shouldn't > be an additional overwriting after the if-else statement. > > So this patch just removes the overwriti

[PATCH] hwmon (lm63) Do not overwrite data->kind

2018-11-12 Thread Nicolin Chen
According to the code right before the removed line, data->kind should be either from DT or from id pointer. So there shouldn't be an additional overwriting after the if-else statement. So this patch just removes the overwriting line. Signed-off-by: Nicolin Chen --- Guenter, I have not reall