summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-blinkm.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-11 21:20:29 -0700
committerBryan Wu <cooloney@gmail.com>2013-10-22 10:57:34 -0700
commit2491c5c8c99dfcf2519ca73798be60f874a2b16e (patch)
treee29b7ba41d566f29cee3ceaffba98983f92a5ddf /drivers/leds/leds-blinkm.c
parent31d141e3a666269a3b6fcccddb0351caf7454240 (diff)
downloadop-kernel-dev-2491c5c8c99dfcf2519ca73798be60f874a2b16e.zip
op-kernel-dev-2491c5c8c99dfcf2519ca73798be60f874a2b16e.tar.gz
leds: blinkm: Remove redundant break
'break' after return is redundant. Remove it. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Jan-Simon Möller <dl9pf@gmx.de> Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds/leds-blinkm.c')
-rw-r--r--drivers/leds/leds-blinkm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/leds/leds-blinkm.c b/drivers/leds/leds-blinkm.c
index a502678..66d0a57 100644
--- a/drivers/leds/leds-blinkm.c
+++ b/drivers/leds/leds-blinkm.c
@@ -161,13 +161,10 @@ static ssize_t show_color_common(struct device *dev, char *buf, int color)
switch (color) {
case RED:
return scnprintf(buf, PAGE_SIZE, "%02X\n", data->red);
- break;
case GREEN:
return scnprintf(buf, PAGE_SIZE, "%02X\n", data->green);
- break;
case BLUE:
return scnprintf(buf, PAGE_SIZE, "%02X\n", data->blue);
- break;
default:
return -EINVAL;
}
OpenPOWER on IntegriCloud