Re: [PATCH 3/3] mfd/omap-usb-tll: Return an error code only as a constant in usbtll_omap_probe()
From: Lee Jones
Date: Mon Jan 22 2018 - 10:51:06 EST
On Mon, 15 Jan 2018, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Mon, 15 Jan 2018 14:00:45 +0100
>
> * Return an error code without storing it in an intermediate variable.
>
> * Delete the label "err_clk_alloc" and local variable "ret"
> which became unnecessary with this refactoring.
>
> Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/mfd/omap-usb-tll.c | 12 +++---------
> 1 file changed, 3 insertions(+), 9 deletions(-)
Applied, thanks.
--
Lee Jones
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog