diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-04-17 19:09:00 +0900 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2014-06-02 02:07:03 +0900 |
commit | 5ce405be56b208bc9dc1d278d4ddb6c921e8e1db (patch) | |
tree | b50df1bd78cb8e4c72af89b7225d971f46163933 /drivers/gpu/drm/exynos/exynos_drm_rotator.c | |
parent | drm/exynos: dp: remove unnecessary OOM messages (diff) | |
download | linux-dev-5ce405be56b208bc9dc1d278d4ddb6c921e8e1db.tar.xz linux-dev-5ce405be56b208bc9dc1d278d4ddb6c921e8e1db.zip |
drm/exynos: rotator: add missing braces
In the case of that only one branch of a conditional statement is
a single statement, braces are added to both branches.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_rotator.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_rotator.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_rotator.c b/drivers/gpu/drm/exynos/exynos_drm_rotator.c index 7b901688defa..c67542750b6a 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_rotator.c +++ b/drivers/gpu/drm/exynos/exynos_drm_rotator.c @@ -158,8 +158,9 @@ static irqreturn_t rotator_irq_handler(int irq, void *arg) rot->cur_buf_id[EXYNOS_DRM_OPS_DST]; queue_work(ippdrv->event_workq, (struct work_struct *)event_work); - } else + } else { DRM_ERROR("the SFR is set illegally\n"); + } return IRQ_HANDLED; } |