From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roger Quadros Date: Wed, 17 Jan 2018 15:22:09 +0000 Subject: Re: [PATCH v2] mfd: omap-usb-tll: Allocate driver data at once Message-Id: <487553c6-47d5-994e-e09e-ea112f9bfc57@ti.com> List-Id: References: <20180115202505.GA2628@lenoch> In-Reply-To: <20180115202505.GA2628@lenoch> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Ladislav Michl , linux-omap@vger.kernel.org Cc: SF Markus Elfring , Lee Jones , Tony Lindgren , LKML , kernel-janitors@vger.kernel.org On 15/01/18 22:25, 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 > [Markus Elfring: simplified error unwinding, error message removal] > Signed-off-by: Markus Elfring > Link: https://lkml.org/lkml/2018/1/15/411 Acked-by: Roger Quadros -- cheers, -roger Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki