platform/chrome: cros_ec_typec: Rename discovery struct
authorPrashant Malani <pmalani@chromium.org>
Mon, 16 Nov 2020 20:11:48 +0000 (12:11 -0800)
committerBenson Leung <bleung@chromium.org>
Tue, 5 Jan 2021 19:03:02 +0000 (11:03 -0800)
commitc097f229b71e06e6ef21e4e175b322b3fab06268
treea6e2d14a1e705d21af896892c833fca80eae987c
parent8fab2755191f86d4f4195ceb5ade4d4c17052265
platform/chrome: cros_ec_typec: Rename discovery struct

Rename the sop_disc data struct which is used to store PD discovery data
to the more generic name of disc_data. It can then be re-used to store
and process cable discovery data.

Signed-off-by: Prashant Malani <pmalani@chromium.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Benson Leung <bleung@chromium.org>
Link: https://lore.kernel.org/r/20201116201150.2919178-7-pmalani@chromium.org
drivers/platform/chrome/cros_ec_typec.c