platform/chrome: cros_ec_typec: Use existing feature check
authorPrashant Malani <pmalani@chromium.org>
Tue, 3 Aug 2021 17:36:21 +0000 (10:36 -0700)
committerBenson Leung <bleung@chromium.org>
Mon, 23 Aug 2021 17:24:46 +0000 (10:24 -0700)
commita8db7a3f8ac69e558c7bfbd04802201c39a104ad
treed95f22f7391689c40fef54be1c86a7a85839029d
parent3abc16af57c9939724df92fcbda296b25cc95168
platform/chrome: cros_ec_typec: Use existing feature check

Replace the cros_typec_feature_supported() function with the
pre-existing cros_ec_check_features() function which does the same
thing.

Signed-off-by: Prashant Malani <pmalani@chromium.org>
Link: https://lore.kernel.org/r/20210803173619.91539-2-pmalani@chromium.org
Signed-off-by: Benson Leung <bleung@chromium.org>
drivers/platform/chrome/cros_ec_typec.c