diff options
author | Seung-Woo Kim <sw0312.kim@samsung.com> | 2013-06-05 01:34:38 -0400 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2013-06-28 08:11:48 -0400 |
commit | ad07945a857858598fd5e3b24d226a3b501d5375 (patch) | |
tree | 4bbc1fdfddcbfdc7b4747bac7283ce20725db6eb /drivers/gpu/drm/exynos | |
parent | a7f98d6a929ff1cd8378522372f36faf8b9f9a37 (diff) |
drm/exynos: remove ignoring return value warning in hdmi
The definition of regulator_bulk_enable is fixed with __must_check
and this causes following build warning.
warning: ignoring return value of 'regulator_bulk_enable',
declared with attribute warn_unused_result
This patch fixes to check return value of the function.
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_hdmi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index fd1426dca882..4dfe82974ce7 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c | |||
@@ -1699,7 +1699,9 @@ static void hdmi_poweron(struct hdmi_context *hdata) | |||
1699 | 1699 | ||
1700 | mutex_unlock(&hdata->hdmi_mutex); | 1700 | mutex_unlock(&hdata->hdmi_mutex); |
1701 | 1701 | ||
1702 | regulator_bulk_enable(res->regul_count, res->regul_bulk); | 1702 | if (regulator_bulk_enable(res->regul_count, res->regul_bulk)) |
1703 | DRM_DEBUG_KMS("failed to enable regulator bulk\n"); | ||
1704 | |||
1703 | clk_enable(res->hdmiphy); | 1705 | clk_enable(res->hdmiphy); |
1704 | clk_enable(res->hdmi); | 1706 | clk_enable(res->hdmi); |
1705 | clk_enable(res->sclk_hdmi); | 1707 | clk_enable(res->sclk_hdmi); |