On 12 December 2012 16:51, Felipe Balbi <ba...@ti.com> wrote:
> On Wed, Dec 12, 2012 at 04:13:15PM +0530, Sachin Kamat wrote:
>> devm_kzalloc is device managed and makes error handling and cleanup
>> simpler. While at it also fixed the return value when platform_device_alloc
>> failed in probe function.
>>
>> Cc: Anton Tikhomirov <av.tikhomi...@samsung.com>
>> Signed-off-by: Sachin Kamat <sachin.ka...@linaro.org>
>
> what's wrong with http://www.spinics.net/lists/linux-usb/msg74326.html ?

Looks good to me though the creation of '*dev' was not really necessary.
I had not looked at the above patch. Please ignore mine.

>
> --
> balbi



-- 
With warm regards,
Sachin
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to