NFC: nfcmrvl: fix kernel-doc syntax in file headers

The opening comment mark '/**' is used for highlighting the beginning of
kernel-doc comments.
The header for drivers/nfc/nfcmrvl follows this syntax, but the content
inside does not comply with kernel-doc.

This line was probably not meant for kernel-doc parsing, but is parsed
due to the presence of kernel-doc like comment syntax(i.e, '/**'), which
causes unexpected warnings from kernel-doc.
For e.g., running scripts/kernel-doc -none on drivers/nfc/nfcmrvl/spi.c
causes warning:
warning: expecting prototype for Marvell NFC(). Prototype was for SPI_WAIT_HANDSHAKE() instead

Provide a simple fix by replacing such occurrences with general comment
format, i.e. '/*', to prevent kernel-doc from parsing it.

Signed-off-by: Aditya Srivastava <yashsri421@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Aditya Srivastava 2021-05-24 02:39:09 +05:30 коммит произвёл David S. Miller
Родитель 474a2ddaa1
Коммит 4dd649d130
6 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -1,4 +1,4 @@
/**
/*
* Marvell NFC driver: Firmware downloader
*
* Copyright (C) 2015, Marvell International Ltd.

Просмотреть файл

@ -1,4 +1,4 @@
/**
/*
* Marvell NFC-over-I2C driver: I2C interface related functions
*
* Copyright (C) 2015, Marvell International Ltd.

Просмотреть файл

@ -1,4 +1,4 @@
/**
/*
* Marvell NFC driver
*
* Copyright (C) 2014-2015, Marvell International Ltd.

Просмотреть файл

@ -1,4 +1,4 @@
/**
/*
* Marvell NFC-over-SPI driver: SPI interface related functions
*
* Copyright (C) 2015, Marvell International Ltd.

Просмотреть файл

@ -1,4 +1,4 @@
/**
/*
* Marvell NFC-over-UART driver
*
* Copyright (C) 2015, Marvell International Ltd.

Просмотреть файл

@ -1,4 +1,4 @@
/**
/*
* Marvell NFC-over-USB driver: USB interface related functions
*
* Copyright (C) 2014, Marvell International Ltd.