Commit 2491c5c8 authored by Sachin Kamat's avatar Sachin Kamat Committed by Bryan Wu

leds: blinkm: Remove redundant break

'break' after return is redundant. Remove it.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Acked-by: default avatarJan-Simon Möller <dl9pf@gmx.de>
Signed-off-by: default avatarBryan Wu <cooloney@gmail.com>
parent 31d141e3
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment