diff options
| author | Yang Guang <[email protected]> | 2021-12-21 09:15:59 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-12-21 09:38:13 +0000 |
| commit | e233897b1f7a859092bd20b10bfd412013381a10 (patch) | |
| tree | 050340e35f52ef013216b751db2cac42b8293ab5 /drivers/iio/trigger/stm32-timer-trigger.c | |
| parent | counter: 104-quad-8: Fix persistent enabled events bug (diff) | |
| download | kernel-e233897b1f7a859092bd20b10bfd412013381a10.tar.gz kernel-e233897b1f7a859092bd20b10bfd412013381a10.zip | |
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 <[email protected]>
Signed-off-by: David Yang <[email protected]>
Signed-off-by: Yang Guang <[email protected]>
Link: https://lore.kernel.org/r/cb14f9e6e86cf8494ed2ddce6eec8ebd988908d9.1640077704.git.yang.guang5@zte.com.cn
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions
