Re: [PATCH v2] mfd: omap-usb-tll: Allocate driver data at once

From: Lee Jones
Date: Tue Jan 23 2018 - 07:56:09 EST


On Mon, 15 Jan 2018, Ladislav Michl wrote:

> Allocating memory to store clk array together with driver
> data simplifies error unwinding and allows deleting memory
> allocation failure message as there is now only single point
> of failure already covered by allocation failure report.
>
> Signed-off-by: Ladislav Michl <ladis@xxxxxxxxxxxxxx>
> [Markus Elfring: simplified error unwinding, error message removal]
> Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Link: https://lkml.org/lkml/2018/1/15/411
> ---
> Changes:
> - v2: reindent 'rev' debug message
> credit Markus Elfring
>
> drivers/mfd/omap-usb-tll.c | 60 +++++++++++++++++++---------------------------
> 1 file changed, 25 insertions(+), 35 deletions(-)

Applied, thanks.

--
Lee Jones
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog