lkml.org 
[lkml]   [2021]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] usb: typec: tcpci_maxim: remove redundant assignment
On Sun, Jan 24, 2021 at 09:31:37PM +0800, angkery wrote:
> From: Junlin Yang <yangjunlin@yulong.com>
>
> 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@yulong.com>
> ---
> 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

\
 
 \ /
  Last update: 2021-01-24 14:37    [W:0.238 / U:1.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site