Re: [PATCH] uio: Simplify uio error path by using devres functions

2013-09-18 Thread Pavel Machek
On Thu 2013-09-12 07:39:59, Michal Simek wrote: > Using devres functions simplify driver error path. > - Use devm_kzalloc > - Use devm_request_irq > > Signed-off-by: Michal Simek Reviewed-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.kar

[PATCH] uio: Simplify uio error path by using devres functions

2013-09-11 Thread Michal Simek
Using devres functions simplify driver error path. - Use devm_kzalloc - Use devm_request_irq Signed-off-by: Michal Simek --- --- drivers/uio/uio.c | 16 drivers/uio/uio_pdrv_genirq.c | 34 ++ 2 files changed, 14 insertions(+), 36 delet