aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2008-12-18 21:24:18 +0100
committerDave Airlie <airlied@linux.ie>2008-12-29 17:47:26 +1000
commitd4da3af667d251cc853d1873a1fad4db6daabf5f (patch)
treefe58b76b85616d931504256ffee1d4818fbbe1d0 /drivers/gpu
parent606df4e024bc8e921dd516cdb7160250658d9b7a (diff)
downloadkernel_samsung_smdk4412-d4da3af667d251cc853d1873a1fad4db6daabf5f.zip
kernel_samsung_smdk4412-d4da3af667d251cc853d1873a1fad4db6daabf5f.tar.gz
kernel_samsung_smdk4412-d4da3af667d251cc853d1873a1fad4db6daabf5f.tar.bz2
drm/i915: fix sparse warnings: returning void-valued expression
Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/intel_display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 579dc42..6e8b9ab 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -213,9 +213,9 @@ static void intel_clock(struct drm_device *dev, int refclk,
intel_clock_t *clock)
{
if (IS_I9XX(dev))
- return i9xx_clock (refclk, clock);
+ i9xx_clock (refclk, clock);
else
- return i8xx_clock (refclk, clock);
+ i8xx_clock (refclk, clock);
}
/**