Skip to content

Commit d5831be

Browse files
Lee Jonesbentiss
authored andcommitted
HID: intel-ish: Supply some missing param descriptions
Fixes the following W=1 kernel build warning(s): drivers/hid/intel-ish-hid/ishtp/bus.c:173: warning: Function parameter or member 'fw_client' not described in 'ishtp_get_fw_client_id' drivers/hid/intel-ish-hid/ishtp/bus.c:845: warning: Function parameter or member 'device' not described in 'ishtp_device' drivers/hid/intel-ish-hid/ishtp/bus.c:858: warning: Function parameter or member 'device' not described in 'ishtp_get_pci_device' drivers/hid/intel-ish-hid/ishtp/bus.c:871: warning: Function parameter or member 'cl_device' not described in 'ishtp_trace_callback' drivers/hid/intel-ish-hid/ishtp/bus.c:884: warning: Function parameter or member 'dev' not described in 'ish_hw_reset' Cc: Srinivas Pandruvada <[email protected]> Cc: Jiri Kosina <[email protected]> Cc: Benjamin Tissoires <[email protected]> Cc: "Uwe Kleine-König" <[email protected]> Cc: [email protected] Signed-off-by: Lee Jones <[email protected]> Acked-by: Srinivas Pandruvada <[email protected]> Signed-off-by: Benjamin Tissoires <[email protected]>
1 parent 3977e00 commit d5831be

File tree

1 file changed

+5
-0
lines changed
  • drivers/hid/intel-ish-hid/ishtp

1 file changed

+5
-0
lines changed

drivers/hid/intel-ish-hid/ishtp/bus.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ EXPORT_SYMBOL(ishtp_fw_cl_get_client);
164164

165165
/**
166166
* ishtp_get_fw_client_id() - Get fw client id
167+
* @fw_client: firmware client used to fetch the ID
167168
*
168169
* This interface is used to reset HW get FW client id.
169170
*
@@ -835,6 +836,7 @@ int ishtp_use_dma_transfer(void)
835836

836837
/**
837838
* ishtp_device() - Return device pointer
839+
* @device: ISH-TP client device instance
838840
*
839841
* This interface is used to return device pointer from ishtp_cl_device
840842
* instance.
@@ -851,6 +853,7 @@ EXPORT_SYMBOL(ishtp_device);
851853
* ishtp_get_pci_device() - Return PCI device dev pointer
852854
* This interface is used to return PCI device pointer
853855
* from ishtp_cl_device instance.
856+
* @device: ISH-TP client device instance
854857
*
855858
* Return: device *.
856859
*/
@@ -862,6 +865,7 @@ EXPORT_SYMBOL(ishtp_get_pci_device);
862865

863866
/**
864867
* ishtp_trace_callback() - Return trace callback
868+
* @cl_device: ISH-TP client device instance
865869
*
866870
* This interface is used to return trace callback function pointer.
867871
*
@@ -875,6 +879,7 @@ EXPORT_SYMBOL(ishtp_trace_callback);
875879

876880
/**
877881
* ish_hw_reset() - Call HW reset IPC callback
882+
* @dev: ISHTP device instance
878883
*
879884
* This interface is used to reset HW in case of error.
880885
*

0 commit comments

Comments
 (0)