Hi, On Wed, Dec 12, 2012 at 05:08:09PM +0530, Sachin Kamat wrote: > 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.
yeah, it's definitely not necessary and GCC will optimize it anyway ;-) cheers -- balbi
signature.asc
Description: Digital signature