[media] media: mx2-emmaprp: Cleanup internal structure
authorAlexander Shiyan <shc_work@mail.ru>
Fri, 2 May 2014 07:18:00 +0000 (04:18 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 23 May 2014 17:57:18 +0000 (14:57 -0300)
commitb97a6216973e5dd34b8c02940c6dc956ea2689a1
tree26724234a69c3294e7470b2e8ef0c6fc54931d68
parente933cefa0f6e9cf40c8f4ae6d4da8ebb3f765ba0
[media] media: mx2-emmaprp: Cleanup internal structure

There are no need to store resource struct and IRQ in the driver
internal structure.
This patch remove these fields and improve error handling by using
proper return codes from devm_ioremap_resource() and devm_request_irq().

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/mx2_emmaprp.c