diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-05-14 06:31:24 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-20 09:05:18 -0300 |
commit | 32fced05ad9ef4736e4a89b2361cccf56227529b (patch) | |
tree | 240505865b7c2fea153a0870e10604736a2474ec /drivers/media/video/s5p-g2d/g2d.h | |
parent | 3e9095d54c3712ffda70dc84f9273d4b5d24c0fd (diff) |
[media] s5p-g2d: Use devm_* functions in g2d.c file
devm_* functions are device managed functions and make error handling
and cleanup simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/s5p-g2d/g2d.h')
-rw-r--r-- | drivers/media/video/s5p-g2d/g2d.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/s5p-g2d/g2d.h b/drivers/media/video/s5p-g2d/g2d.h index 1b82065aeaef..6b765b0216c5 100644 --- a/drivers/media/video/s5p-g2d/g2d.h +++ b/drivers/media/video/s5p-g2d/g2d.h @@ -23,7 +23,6 @@ struct g2d_dev { spinlock_t ctrl_lock; atomic_t num_inst; struct vb2_alloc_ctx *alloc_ctx; - struct resource *res_regs; void __iomem *regs; struct clk *clk; struct clk *gate; |