[PATCH] thermal: remove dangling 'weight_attr' device file