Skip to content

Commit 3e67fd8

Browse files
committed
firmware: ti_sci: Fixup documentation errors
Fix up documentation errors, squashes the following warnings: drivers/firmware/ti_sci.c:1986: warning: Excess function parameter 'vint_irq' description in 'ti_sci_cmd_set_irq' drivers/firmware/ti_sci.c:2034: warning: Excess function parameter 'vint_irq' description in 'ti_sci_cmd_free_irq' drivers/firmware/ti_sci.c:2630: warning: Function parameter or member 'bootvector' not described in 'ti_sci_cmd_proc_set_config' drivers/firmware/ti_sci.c:2746: warning: Function parameter or member 'bv' not described in 'ti_sci_cmd_proc_get_status' drivers/firmware/ti_sci.c:2746: warning: Function parameter or member 'cfg_flags' not described in 'ti_sci_cmd_proc_get_status' drivers/firmware/ti_sci.c:2746: warning: Function parameter or member 'ctrl_flags' not described in 'ti_sci_cmd_proc_get_status' drivers/firmware/ti_sci.c:2746: warning: Function parameter or member 'sts_flags' not described in 'ti_sci_cmd_proc_get_status' drivers/firmware/ti_sci.c:2746: warning: expecting prototype for ti_sci_cmd_get_boot_status(). Prototype was for ti_sci_cmd_proc_get_status() instead drivers/firmware/ti_sci.c:3265: warning: Function parameter or member 'sub_type' not described in 'devm_ti_sci_get_resource' drivers/firmware/ti_sci.c:3265: warning: Excess function parameter 'suub_type' description in 'devm_ti_sci_get_resource' Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Nishanth Menon <[email protected]>
1 parent 9225bcd commit 3e67fd8

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

drivers/firmware/ti_sci.c

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1976,8 +1976,6 @@ static int ti_sci_free_irq(const struct ti_sci_handle *handle, u32 valid_params,
19761976
* @src_index: IRQ source index within the source device
19771977
* @dst_id: Device ID of the IRQ destination
19781978
* @dst_host_irq: IRQ number of the destination device
1979-
* @vint_irq: Boolean specifying if this interrupt belongs to
1980-
* Interrupt Aggregator.
19811979
*
19821980
* Return: 0 if all went fine, else return appropriate error.
19831981
*/
@@ -2024,8 +2022,6 @@ static int ti_sci_cmd_set_event_map(const struct ti_sci_handle *handle,
20242022
* @src_index: IRQ source index within the source device
20252023
* @dst_id: Device ID of the IRQ destination
20262024
* @dst_host_irq: IRQ number of the destination device
2027-
* @vint_irq: Boolean specifying if this interrupt belongs to
2028-
* Interrupt Aggregator.
20292025
*
20302026
* Return: 0 if all went fine, else return appropriate error.
20312027
*/
@@ -2618,6 +2614,7 @@ static int ti_sci_cmd_proc_handover(const struct ti_sci_handle *handle,
26182614
* configuration flags
26192615
* @handle: Pointer to TI SCI handle
26202616
* @proc_id: Processor ID this request is for
2617+
* @bootvector: Processor Boot vector (start address)
26212618
* @config_flags_set: Configuration flags to be set
26222619
* @config_flags_clear: Configuration flags to be cleared.
26232620
*
@@ -2734,9 +2731,13 @@ static int ti_sci_cmd_proc_set_control(const struct ti_sci_handle *handle,
27342731
}
27352732

27362733
/**
2737-
* ti_sci_cmd_get_boot_status() - Command to get the processor boot status
2734+
* ti_sci_cmd_proc_get_status() - Command to get the processor boot status
27382735
* @handle: Pointer to TI SCI handle
27392736
* @proc_id: Processor ID this request is for
2737+
* @bv: Processor Boot vector (start address)
2738+
* @cfg_flags: Processor specific configuration flags
2739+
* @ctrl_flags: Processor specific control flags
2740+
* @sts_flags: Processor specific status flags
27402741
*
27412742
* Return: 0 if all went well, else returns appropriate error value.
27422743
*/
@@ -3254,7 +3255,7 @@ EXPORT_SYMBOL_GPL(devm_ti_sci_get_of_resource);
32543255
* @handle: TISCI handle
32553256
* @dev: Device pointer to which the resource is assigned
32563257
* @dev_id: TISCI device id to which the resource is assigned
3257-
* @suub_type: TISCI resource subytpe representing the resource.
3258+
* @sub_type: TISCI resource subytpe representing the resource.
32583259
*
32593260
* Return: Pointer to ti_sci_resource if all went well else appropriate
32603261
* error pointer.

0 commit comments

Comments
 (0)