Re: [PATCH] powercap: Remove reassignment

2017-12-12 Thread Rafael J. Wysocki
On Saturday, November 11, 2017 6:47:26 PM CET Arvind Yadav wrote: > It is not necessary to reassignment of 'result'. > Here, result is being initialized zero and then updated with > seed_constraint_attributes(). > class_register is enough to return successful and error value. > > Signed-off-by: Ar

[PATCH] powercap: Remove reassignment

2017-11-11 Thread Arvind Yadav
It is not necessary to reassignment of 'result'. Here, result is being initialized zero and then updated with seed_constraint_attributes(). class_register is enough to return successful and error value. Signed-off-by: Arvind Yadav --- drivers/powercap/powercap_sys.c | 6 ++ 1 file changed, 2