firmware: arm_scmi: Fix kernel doc warnings about return values
Kernel doc validation script still complains about the following: |No description found for return value of 'scmi_get_protocol_device' |No description found for return value of 'scmi_devm_notifier_register' |No description found for return value of 'scmi_devm_notifier_unregister' Fix adding missing Return kernel-doc statements. Link: https://lore.kernel.org/r/20210712143504.33541-1-cristian.marussi@arm.com Signed-off-by: Cristian Marussi <cristian.marussi@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
This commit is contained in:
parent
5ff6319d46
commit
b98cf55ec0
|
@ -1138,6 +1138,8 @@ scmi_txrx_setup(struct scmi_info *info, struct device *dev, int prot_id)
|
|||
* @proto_id and @name: if device was still not existent it is created as a
|
||||
* child of the specified SCMI instance @info and its transport properly
|
||||
* initialized as usual.
|
||||
*
|
||||
* Return: A properly initialized scmi device, NULL otherwise.
|
||||
*/
|
||||
static inline struct scmi_device *
|
||||
scmi_get_protocol_device(struct device_node *np, struct scmi_info *info,
|
||||
|
|
|
@ -1457,6 +1457,8 @@ static void scmi_devm_release_notifier(struct device *dev, void *res)
|
|||
*
|
||||
* Generic devres managed helper to register a notifier_block against a
|
||||
* protocol event.
|
||||
*
|
||||
* Return: 0 on Success
|
||||
*/
|
||||
static int scmi_devm_notifier_register(struct scmi_device *sdev,
|
||||
u8 proto_id, u8 evt_id,
|
||||
|
@ -1523,6 +1525,8 @@ static int scmi_devm_notifier_match(struct device *dev, void *res, void *data)
|
|||
* Generic devres managed helper to explicitly un-register a notifier_block
|
||||
* against a protocol event, which was previously registered using the above
|
||||
* @scmi_devm_notifier_register.
|
||||
*
|
||||
* Return: 0 on Success
|
||||
*/
|
||||
static int scmi_devm_notifier_unregister(struct scmi_device *sdev,
|
||||
u8 proto_id, u8 evt_id,
|
||||
|
|
Loading…
Reference in New Issue