diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2012-02-14 13:23:46 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-03-08 07:41:43 -0300 |
commit | a1212162f493852e4becb7abf55f78d17872d8a8 (patch) | |
tree | a1d92507d42deafff0e89da0a7fa28d79cc20e86 /lib | |
parent | f9331d115dadd4e63619ebb47960ec2b7d253700 (diff) |
[media] s5p-csis: Convert to the device managed resources
The devm_* functions are used in the platform device probe() for data
that is freed on driver removal. The managed device layer takes care
of undoing actions taken in the probe callback() and freeing resources
on driver detach. This eliminates the need for manually releasing
resources and simplifies error handling.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions