From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roger Quadros Subject: Re: [PATCH v2] mfd: omap-usb-tll: Allocate driver data at once Date: Wed, 17 Jan 2018 17:22:09 +0200 Message-ID: <487553c6-47d5-994e-e09e-ea112f9bfc57@ti.com> References: <20180115202505.GA2628@lenoch> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20180115202505.GA2628@lenoch> Content-Language: en-GB Sender: linux-kernel-owner@vger.kernel.org To: Ladislav Michl , linux-omap@vger.kernel.org Cc: SF Markus Elfring , Lee Jones , Tony Lindgren , LKML , kernel-janitors@vger.kernel.org List-Id: linux-omap@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