Re: [PATCH v2] usb: typec: tcpci_maxim: remove redundant assignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux