commit | b97a6216973e5dd34b8c02940c6dc956ea2689a1 | [log] [tgz] |
---|---|---|
author | Alexander Shiyan <shc_work@mail.ru> | Fri May 02 04:18:00 2014 -0300 |
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | Fri May 23 14:57:18 2014 -0300 |
tree | 26724234a69c3294e7470b2e8ef0c6fc54931d68 | |
parent | e933cefa0f6e9cf40c8f4ae6d4da8ebb3f765ba0 [diff] |
[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>