Skip to content

Commit 99c6f96

Browse files
Lee Jonesbentiss
authored andcommitted
HID: intel-ish-hid: Fix potential copy/paste error
Fixes the following W=1 kernel build warning(s): In file included from drivers/hid/intel-ish-hid/ishtp-hid.c:11: drivers/hid/intel-ish-hid/ishtp-hid.c:263: warning: expecting prototype for ishtp_hid_probe(). Prototype was for ishtp_hid_remove() instead Cc: Srinivas Pandruvada <[email protected]> Cc: Jiri Kosina <[email protected]> Cc: Benjamin Tissoires <[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 73c2633 commit 99c6f96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ int ishtp_hid_probe(unsigned int cur_hid_dev,
254254
}
255255

256256
/**
257-
* ishtp_hid_probe() - Remove registered hid device
257+
* ishtp_hid_remove() - Remove registered hid device
258258
* @client_data: client data pointer
259259
*
260260
* This function is used to destroy allocatd HID device.

0 commit comments

Comments
 (0)