Re: [PATCH v2] usb: typec: tcpci_maxim: remove redundant assignment
From: Greg KH
Date: Sun Jan 24 2021 - 08:37:56 EST
On Sun, Jan 24, 2021 at 09:31:37PM +0800, angkery wrote:
> From: Junlin Yang <yangjunlin@xxxxxxxxxx>
>
> PTR_ERR(chip->tcpci) has been used as a return value,
> it is not necessary to assign it to ret, so remove it.
> And add terminating '\n' to the formats where missed too.
>
> Signed-off-by: Junlin Yang <yangjunlin@xxxxxxxxxx>
> ---
> v2: add terminating '\n' to the formats where missed too.
Don't mix different things in the same patch, this should be a patch
series of 2 patches.
thanks,
greg k-h