Tag: ffe3df535320acc337d69c60549d68ebfa863642

hwmon: (w83627ehf) Use swap() in w82627ehf_swap_tempreg()

Author: Fabian Frederick <fabf@skynet.be> Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick Signed-off-by: Jean Delvare — drivers/hwmon/w83627ehf.c | 26 +++++——————— 1 file changed, 5 insertions(+), 21 deletions(-)   diff –git a/drivers/hwmon/w83627ehf.c b/drivers/hwmon/w83627ehf.c index b10353b..697007a 100644 — a/drivers/hwmon/w83627ehf.c +++ b/drivers/hwmon/w83627ehf.c @@ -1937,27 +1937,11 @@ static inline void w83627ehf_init_device(struct w83627ehf_data …

Continue reading