Re: [PATCH 2/5] mfd: tps65090: add error prints when mem alloc failed

Laxman Dewangan
2012-10-08T06:36:46Z

On Sunday 07 October 2012 09:43 PM, Joe Perches wrote:
> On Sun, 2012-10-07 at 20:52 +0530, Laxman Dewangan wrote:
>> Add error prints when memory allocation failed for
>> tps65090 data. Also cleanups the melloc arguments.
> The new dev_err is unnecessary.
> A dump_stack is already done on alloc failures.
> The sizeof(* is ok.
>

I think this will also prints the device name for which it fails and so
when we have multiple device, it will help to find out the failure case.

Thanks,
Laxman