diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2012-09-24 06:00:37 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-01-06 09:33:34 -0200 |
commit | cf48f56c27ecfe94fbea363db6e8e0bacbd525ed (patch) | |
tree | c6d2aab837332b754915907082c30fc7a4ac6aed /drivers/oprofile/oprofile_files.c | |
parent | 740ad921f8a72ed76d20c88225a2fa71e8290904 (diff) |
[media] s5p-tv: Fix return value in sdo_probe() on error paths
Use proper return value test for clk_get() and devm_regulator_get()
functions and propagate any errors from the clock and the regulator
subsystem to the driver core. In two cases a proper error code is
now returned rather than 0.
Reported-by: Peter Senna Tschudin <peter.senna@gmail.com>
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 'drivers/oprofile/oprofile_files.c')
0 files changed, 0 insertions, 0 deletions