Re: [PATCH v2] w1: w1_therm: use swap() to make code cleaner

From: Greg KH
Date: Mon Dec 20 2021 - 03:08:52 EST


On Mon, Dec 20, 2021 at 03:48:36PM +0800, davidcomponentone@xxxxxxxxx wrote:
> From: Yang Guang <yang.guang5@xxxxxxxxxx>
>
> Use the macro 'swap()' defined in 'include/linux/minmax.h' to avoid
> opencoding it.
>
> Changes from v1->v2:
> - Delete the curly {} braces.

version info goes below the --- line. Please fix up and resend a v3.

thanks,

greg k-h