linux-stable/drivers/w1/slaves
Yang Guang e233897b1f w1: w1_therm: use swap() to make code cleaner
Use the macro 'swap()' defined in 'include/linux/minmax.h' to avoid
opencoding it.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: David Yang <davidcomponentone@gmail.com>
Signed-off-by: Yang Guang <yang.guang5@zte.com.cn>
Link: https://lore.kernel.org/r/cb14f9e6e86cf8494ed2ddce6eec8ebd988908d9.1640077704.git.yang.guang5@zte.com.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-12-21 10:38:13 +01:00
..
Kconfig w1: new driver. DS2430 chip 2019-11-14 13:06:33 +08:00
Makefile w1: new driver. DS2430 chip 2019-11-14 13:06:33 +08:00
w1_ds28e04.c w1: Misuse of get_user()/put_user() reported by sparse 2021-12-03 14:30:05 +01:00
w1_ds28e17.c w1: ds28e17: Use module_w1_family to simplify the code 2021-04-10 10:58:21 +02:00
w1_ds250x.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2405.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2406.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2408.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2413.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2423.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2430.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2431.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2433.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2438.c w1: ds2438: support for writing to offset register 2021-05-21 14:51:33 +02:00
w1_ds2780.c w1: Use kobj_to_dev()[RESEND] 2021-03-24 08:26:30 +01:00
w1_ds2780.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
w1_ds2781.c w1: Use kobj_to_dev()[RESEND] 2021-03-24 08:26:30 +01:00
w1_ds2781.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
w1_ds2805.c w1: ds2805: Use module_w1_family to simplify the code 2021-04-10 10:58:21 +02:00
w1_smem.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 94 2019-05-24 17:37:53 +02:00
w1_therm.c w1: w1_therm: use swap() to make code cleaner 2021-12-21 10:38:13 +01:00