[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YA134dhtrYpt5R/J@kroah.com>
Date: Sun, 24 Jan 2021 14:36:33 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: angkery <angkery@....com>
Cc: linux@...ck-us.net, heikki.krogerus@...ux.intel.com,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
Junlin Yang <yangjunlin@...ong.com>
Subject: Re: [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@...ong.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@...ong.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
Powered by blists - more mailing lists