Skip to content

Commit db53c3f

Browse files
kartbenfabiobaltieri
authored andcommitted
doc: Drop asterisk from Doxygen @param
The name for Doxygen params that are pointers should not include an asterisk. Signed-off-by: Benjamin Cabé <[email protected]>
1 parent 77aafa5 commit db53c3f

File tree

12 files changed

+60
-60
lines changed

12 files changed

+60
-60
lines changed

drivers/interrupt_controller/intc_exti_stm32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ void stm32_exti_trigger(int line, int trigger)
168168
*
169169
* Check EXTI lines in exti_range for pending interrupts
170170
*
171-
* @param *exti_range Pointer to a exti_range structure
171+
* @param exti_range Pointer to a exti_range structure
172172
*/
173173
static void stm32_exti_isr(const void *exti_range)
174174
{

drivers/modem/hl7800.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5004,8 +5004,8 @@ static int modem_boot_handler(char *reason)
50045004
/**
50055005
* @brief compares two version strings with any delimiter
50065006
*
5007-
* @param *v1: version string 1
5008-
* @param *v2: version string 2
5007+
* @param v1: version string 1
5008+
* @param v2: version string 2
50095009
*
50105010
* @retval 0 if equal, < 0 if v1 < v2, > 0 if v1 > v2.
50115011
*/

drivers/modem/modem_cmd_handler.h

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ struct modem_cmd_handler_data {
126126
/**
127127
* @brief get the last error code
128128
*
129-
* @param *data: command handler data reference
129+
* @param data: command handler data reference
130130
*
131131
* @retval last handled error.
132132
*/
@@ -135,8 +135,8 @@ int modem_cmd_handler_get_error(struct modem_cmd_handler_data *data);
135135
/**
136136
* @brief set the last error code
137137
*
138-
* @param *data: command handler data reference
139-
* @param *error_code: error
138+
* @param data: command handler data reference
139+
* @param error_code: error
140140
*
141141
* @retval 0 if ok, < 0 if error.
142142
*/
@@ -146,8 +146,8 @@ int modem_cmd_handler_set_error(struct modem_cmd_handler_data *data,
146146
/**
147147
* @brief update the parser's handler commands
148148
*
149-
* @param *data: handler data to use
150-
* @param *handler_cmds: commands to attach
149+
* @param data: handler data to use
150+
* @param handler_cmds: commands to attach
151151
* @param handler_cmds_len: size of commands array
152152
* @param reset_error_flag: reset last error code
153153
*
@@ -165,12 +165,12 @@ int modem_cmd_handler_update_cmds(struct modem_cmd_handler_data *data,
165165
* specific behavior regarding acquiring tx_lock, setting and unsetting
166166
* @a handler_cmds.
167167
*
168-
* @param *iface: interface to use
169-
* @param *handler: command handler to use
170-
* @param *handler_cmds: commands to attach
168+
* @param iface: interface to use
169+
* @param handler: command handler to use
170+
* @param handler_cmds: commands to attach
171171
* @param handler_cmds_len: size of commands array
172-
* @param *buf: NULL terminated send buffer
173-
* @param *sem: wait for response semaphore
172+
* @param buf: NULL terminated send buffer
173+
* @param sem: wait for response semaphore
174174
* @param timeout: timeout of command
175175
* @param flags: flags which influence behavior of command sending
176176
*
@@ -185,12 +185,12 @@ int modem_cmd_send_ext(struct modem_iface *iface,
185185
/**
186186
* @brief send AT command to interface w/o locking TX
187187
*
188-
* @param *iface: interface to use
189-
* @param *handler: command handler to use
190-
* @param *handler_cmds: commands to attach
188+
* @param iface: interface to use
189+
* @param handler: command handler to use
190+
* @param handler_cmds: commands to attach
191191
* @param handler_cmds_len: size of commands array
192-
* @param *buf: NULL terminated send buffer
193-
* @param *sem: wait for response semaphore
192+
* @param buf: NULL terminated send buffer
193+
* @param sem: wait for response semaphore
194194
* @param timeout: timeout of command
195195
*
196196
* @retval 0 if ok, < 0 if error.
@@ -210,12 +210,12 @@ static inline int modem_cmd_send_nolock(struct modem_iface *iface,
210210
/**
211211
* @brief send AT command to interface w/ a TX lock
212212
*
213-
* @param *iface: interface to use
214-
* @param *handler: command handler to use
215-
* @param *handler_cmds: commands to attach
213+
* @param iface: interface to use
214+
* @param handler: command handler to use
215+
* @param handler_cmds: commands to attach
216216
* @param handler_cmds_len: size of commands array
217-
* @param *buf: NULL terminated send buffer
218-
* @param *sem: wait for response semaphore
217+
* @param buf: NULL terminated send buffer
218+
* @param sem: wait for response semaphore
219219
* @param timeout: timeout of command
220220
*
221221
* @retval 0 if ok, < 0 if error.
@@ -233,11 +233,11 @@ static inline int modem_cmd_send(struct modem_iface *iface,
233233
/**
234234
* @brief send a series of AT commands w/ a TX lock
235235
*
236-
* @param *iface: interface to use
237-
* @param *handler: command handler to use
238-
* @param *cmds: array of setup commands to send
236+
* @param iface: interface to use
237+
* @param handler: command handler to use
238+
* @param cmds: array of setup commands to send
239239
* @param cmds_len: size of the setup command array
240-
* @param *sem: wait for response semaphore
240+
* @param sem: wait for response semaphore
241241
* @param timeout: timeout of command
242242
*
243243
* @retval 0 if ok, < 0 if error.
@@ -250,11 +250,11 @@ int modem_cmd_handler_setup_cmds(struct modem_iface *iface,
250250
/**
251251
* @brief send a series of AT commands w/o locking TX
252252
*
253-
* @param *iface: interface to use
254-
* @param *handler: command handler to use
255-
* @param *cmds: array of setup commands to send
253+
* @param iface: interface to use
254+
* @param handler: command handler to use
255+
* @param cmds: array of setup commands to send
256256
* @param cmds_len: size of the setup command array
257-
* @param *sem: wait for response semaphore
257+
* @param sem: wait for response semaphore
258258
* @param timeout: timeout of command
259259
*
260260
* @retval 0 if ok, < 0 if error.
@@ -325,7 +325,7 @@ int modem_cmd_handler_init(struct modem_cmd_handler *handler,
325325
* when one needs to prevent threads from sending UART data to the modem for an
326326
* extended period of time (for example during modem reset).
327327
*
328-
* @param *handler: command handler to lock
328+
* @param handler: command handler to lock
329329
* @param timeout: give up after timeout
330330
*
331331
* @retval 0 if ok, < 0 if error.
@@ -336,7 +336,7 @@ int modem_cmd_handler_tx_lock(struct modem_cmd_handler *handler,
336336
/**
337337
* @brief Unlock the modem for sending cmds
338338
*
339-
* @param *handler: command handler to unlock
339+
* @param handler: command handler to unlock
340340
*/
341341
void modem_cmd_handler_tx_unlock(struct modem_cmd_handler *handler);
342342

drivers/modem/modem_context.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ int modem_context_get_addr_port(const struct sockaddr *addr, uint16_t *port)
7676
/**
7777
* @brief Finds modem context which owns the iface device.
7878
*
79-
* @param *dev: device used by the modem iface.
79+
* @param dev: device used by the modem iface.
8080
*
8181
* @retval Modem context or NULL.
8282
*/
@@ -99,7 +99,7 @@ struct modem_context *modem_context_from_iface_dev(const struct device *dev)
9999
* @note Amount of stored modem contexts is determined by
100100
* CONFIG_MODEM_CONTEXT_MAX_NUM.
101101
*
102-
* @param *ctx: modem context to persist.
102+
* @param ctx: modem context to persist.
103103
*
104104
* @retval 0 if ok, < 0 if error.
105105
*/

drivers/modem/modem_context.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ struct modem_context *modem_context_from_id(int id);
105105
/**
106106
* @brief Finds modem context which owns the iface device.
107107
*
108-
* @param *dev: device used by the modem iface.
108+
* @param dev: device used by the modem iface.
109109
*
110110
* @retval Modem context or NULL.
111111
*/
@@ -116,7 +116,7 @@ struct modem_context *modem_context_from_iface_dev(const struct device *dev);
116116
*
117117
* @note Prepares modem context to be used.
118118
*
119-
* @param *ctx: modem context to register.
119+
* @param ctx: modem context to register.
120120
*
121121
* @retval 0 if ok, < 0 if error.
122122
*/

drivers/modem/modem_iface_uart.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ struct modem_iface_uart_data {
4242
*
4343
* @details This can be called after the init if the UART is changed.
4444
*
45-
* @param *iface: modem interface to initialize.
46-
* @param *dev_name: name of the UART device to use
45+
* @param iface: modem interface to initialize.
46+
* @param dev_name: name of the UART device to use
4747
*
4848
* @retval 0 if ok, < 0 if error.
4949
*/

drivers/modem/modem_iface_uart_interrupt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ LOG_MODULE_REGISTER(modem_iface_uart, CONFIG_MODEM_LOG_LEVEL);
2424
*
2525
* @note Discards remaining data.
2626
*
27-
* @param *iface: modem interface.
27+
* @param iface: modem interface.
2828
*
2929
* @retval None.
3030
*/
@@ -43,7 +43,7 @@ static void modem_iface_uart_flush(struct modem_iface *iface)
4343
* @note Fills interfaces ring buffer with received data.
4444
* When ring buffer is full the data is discarded.
4545
*
46-
* @param *uart_dev: uart device.
46+
* @param uart_dev: uart device.
4747
*
4848
* @retval None.
4949
*/

drivers/modem/modem_receiver.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ static struct mdm_receiver_context *contexts[MAX_MDM_CTX];
3030
/**
3131
* @brief Finds receiver context which manages provided device.
3232
*
33-
* @param *dev: device used by the receiver context.
33+
* @param dev: device used by the receiver context.
3434
*
3535
* @retval Receiver context or NULL.
3636
*/
@@ -53,7 +53,7 @@ static struct mdm_receiver_context *context_from_dev(const struct device *dev)
5353
* @note Amount of stored receiver contexts is determined by
5454
* MAX_MDM_CTX.
5555
*
56-
* @param *ctx: receiver context to persist.
56+
* @param ctx: receiver context to persist.
5757
*
5858
* @retval 0 if ok, < 0 if error.
5959
*/
@@ -76,7 +76,7 @@ static int mdm_receiver_get(struct mdm_receiver_context *ctx)
7676
*
7777
* @note Discards remaining data.
7878
*
79-
* @param *ctx: receiver context.
79+
* @param ctx: receiver context.
8080
*
8181
* @retval None.
8282
*/
@@ -98,7 +98,7 @@ static void mdm_receiver_flush(struct mdm_receiver_context *ctx)
9898
* @note Fills contexts ring buffer with received data.
9999
* When ring buffer is full the data is discarded.
100100
*
101-
* @param *uart_dev: uart device.
101+
* @param uart_dev: uart device.
102102
*
103103
* @retval None.
104104
*/
@@ -138,7 +138,7 @@ static void mdm_receiver_isr(const struct device *uart_dev, void *user_data)
138138
/**
139139
* @brief Configures receiver context and assigned device.
140140
*
141-
* @param *ctx: receiver context.
141+
* @param ctx: receiver context.
142142
*
143143
* @retval None.
144144
*/

drivers/modem/modem_receiver.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ struct mdm_receiver_context *mdm_receiver_context_from_id(int id);
5252
/**
5353
* @brief Get received data.
5454
*
55-
* @param *ctx: receiver context.
56-
* @param *buf: buffer to copy the received data to.
55+
* @param ctx: receiver context.
56+
* @param buf: buffer to copy the received data to.
5757
* @param size: buffer size.
58-
* @param *bytes_read: amount of received bytes
58+
* @param bytes_read: amount of received bytes
5959
*
6060
* @retval 0 if ok, < 0 if error.
6161
*/
@@ -65,8 +65,8 @@ int mdm_receiver_recv(struct mdm_receiver_context *ctx,
6565
/**
6666
* @brief Sends the data over specified receiver context.
6767
*
68-
* @param *ctx: receiver context.
69-
* @param *buf: buffer with the data to send.
68+
* @param ctx: receiver context.
69+
* @param buf: buffer with the data to send.
7070
* @param size: the amount of data to send.
7171
*
7272
* @retval 0 if ok, < 0 if error.
@@ -79,9 +79,9 @@ int mdm_receiver_send(struct mdm_receiver_context *ctx,
7979
*
8080
* @note Acquires receivers device, and prepares the context to be used.
8181
*
82-
* @param *ctx: receiver context to register.
83-
* @param *uart_dev: communication device for the receiver context.
84-
* @param *buf: rx buffer to use for received data.
82+
* @param ctx: receiver context to register.
83+
* @param uart_dev: communication device for the receiver context.
84+
* @param buf: rx buffer to use for received data.
8585
* @param size: rx buffer size.
8686
*
8787
* @retval 0 if ok, < 0 if error.

include/zephyr/sensing/sensing.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ int sensing_get_sensors(int *num_sensors, const struct sensing_sensor_info **inf
188188
*
189189
* @param cb_list callback list to be registered to sensing.
190190
*
191-
* @param *handle The opened instance handle, if failed will be set to NULL.
191+
* @param handle The opened instance handle, if failed will be set to NULL.
192192
*
193193
* @return 0 on success or negative error value on failure.
194194
*/
@@ -209,7 +209,7 @@ int sensing_open_sensor(
209209
*
210210
* @param cb_list callback list to be registered to sensing.
211211
*
212-
* @param *handle The opened instance handle, if failed will be set to NULL.
212+
* @param handle The opened instance handle, if failed will be set to NULL.
213213
*
214214
* @return 0 on success or negative error value on failure.
215215
*/

0 commit comments

Comments
 (0)