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 <srinivas.pandruvada@linux.intel.com> Cc: Jiri Kosina <jikos@kernel.org> Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com> Cc: linux-input@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
1 parent 73c2633 commit 99c6f96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)