summaryrefslogtreecommitdiff
path: root/drivers/staging/most
diff options
context:
space:
mode:
authorChaehyun Lim <chaehyun.lim@gmail.com>2015-07-27 01:31:09 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-29 20:43:15 (GMT)
commitadd04a9854106a724b9fbf8bc9925781e5b0059e (patch)
treeec466025e22de27382196f5e01c7981a94728c0b /drivers/staging/most
parent6e64e22449023dc89dfb92c6f19d4c5b03f46889 (diff)
downloadlinux-add04a9854106a724b9fbf8bc9925781e5b0059e.tar.xz
staging: most: core.c: remove semicolon at the end of define statement
Remove semicolon at the end of define statement to fix checkpatch warning. WARNING: macros should not use a trailing semicolon Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Acked-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most')
-rw-r--r--drivers/staging/most/mostcore/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/most/mostcore/core.c b/drivers/staging/most/mostcore/core.c
index f4f9034..98a4c90 100644
--- a/drivers/staging/most/mostcore/core.c
+++ b/drivers/staging/most/mostcore/core.c
@@ -328,7 +328,7 @@ static ssize_t show_channel_starving(struct most_c_obj *c,
#define create_show_channel_attribute(val) \
- static MOST_CHNL_ATTR(val, S_IRUGO, show_##val, NULL);
+ static MOST_CHNL_ATTR(val, S_IRUGO, show_##val, NULL)
create_show_channel_attribute(available_directions);
create_show_channel_attribute(available_datatypes);