summaryrefslogtreecommitdiff
path: root/drivers/iio/accel/mma7660.c
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2021-03-10 02:43:14 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-03-25 22:13:49 +0300
commitb9d453a53d5e3a47790675bc972de99bd163052e (patch)
tree39edc61c7fbf503aa0110be46dc12d37bfebbbe4 /drivers/iio/accel/mma7660.c
parentbbc1308de79368879580635ded6df51d232845ef (diff)
downloadlinux-b9d453a53d5e3a47790675bc972de99bd163052e.tar.xz
iio: Remove kernel-doc keyword in file header comment
Remove kernel-doc keyword from function header comment. It fixes issues spotted by scripts/kernel-doc like: drivers/iio/<driver>.c:3: info: Scanning doc for function <component name> drivers/iio/<driver>.c:X: warning: expecting prototype for <component name>. Prototype was for <function>() instead To reproduce the errors: scripts/kernel-doc -v -none $(find drivers/iio/ -name \*.c \ -exec head -2 {} \+ | grep -B2 -e '\*\*' | grep '==' | cut -d ' ' -f 2) After, confirm these errors are gone with: scripts/kernel-doc -v -none $(git show --name-only | grep -e "^driver") Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Link: https://lore.kernel.org/r/20210309234314.2208256-1-gwendal@chromium.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/accel/mma7660.c')
-rw-r--r--drivers/iio/accel/mma7660.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/accel/mma7660.c b/drivers/iio/accel/mma7660.c
index b3c9136d51ec..47f5cd66e996 100644
--- a/drivers/iio/accel/mma7660.c
+++ b/drivers/iio/accel/mma7660.c
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
-/**
+/*
* Freescale MMA7660FC 3-Axis Accelerometer
*
* Copyright (c) 2016, Intel Corporation.