usb: typec: ucsi: Fix copy/paste issue for 'ucsi_set_drvdata()'
authorLee Jones <lee.jones@linaro.org>
Wed, 26 May 2021 13:00:37 +0000 (14:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 May 2021 07:47:22 +0000 (09:47 +0200)
commit5aff197ffef12b87180bc34268bc2719a283ed09
tree0d98a0143ac443bbd6eb1f1d557a915f8a330ea0
parent58aff959fc841e16f8b45bd01b78b30d23f589f5
usb: typec: ucsi: Fix copy/paste issue for 'ucsi_set_drvdata()'

Fixes the following W=1 kernel build warning(s):

 drivers/usb/typec/ucsi/ucsi.c:1287: warning: expecting prototype for ucsi_get_drvdata(). Prototype was for ucsi_set_drvdata() instead

Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20210526130037.856068-25-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi.c