Re: [PATCH v3 4/4] usb: gadget: pxa27x_udc: use devm_* helpers

2014-06-30 Thread Robert Jarzmik
Felipe Balbi writes: >> >@@ -28,12 +28,11 @@ >> > #include >> > >> > #include >> >-#include >> > >> > #include >> > #include >> > #include >> >-#include >> >+#include >> > >> > #include "pxa27x_udc.h" >> > >> >>These seem like unrelated changes that should be in a separate patc

Re: [PATCH v3 4/4] usb: gadget: pxa27x_udc: use devm_* helpers

2014-06-30 Thread Felipe Balbi
On Mon, Jun 30, 2014 at 12:31:19AM +0400, Sergei Shtylyov wrote: > Hello. > > On 06/29/2014 06:01 PM, Robert Jarzmik wrote: > > >Use devm_* helpers in the probe function to simplify the error path and > >the remove path. > > >Signed-off-by: Robert Jarzmik > >Cc: Sergei Shtylyov > > >--- > >Si

Re: [PATCH v3 4/4] usb: gadget: pxa27x_udc: use devm_* helpers

2014-06-29 Thread Sergei Shtylyov
Hello. On 06/29/2014 06:01 PM, Robert Jarzmik wrote: Use devm_* helpers in the probe function to simplify the error path and the remove path. Signed-off-by: Robert Jarzmik Cc: Sergei Shtylyov --- Since V1: Addressed Sergei's comments --- drivers/usb/gadget/pxa27x_udc.c | 57 ++

[PATCH v3 4/4] usb: gadget: pxa27x_udc: use devm_* helpers

2014-06-29 Thread Robert Jarzmik
Use devm_* helpers in the probe function to simplify the error path and the remove path. Signed-off-by: Robert Jarzmik Cc: Sergei Shtylyov --- Since V1: Addressed Sergei's comments --- drivers/usb/gadget/pxa27x_udc.c | 57 +++-- 1 file changed, 15 insertions