platform/chrome: cros-ec-typec: Cleanup use of check_features
authorPrashant Malani <pmalani@chromium.org>
Thu, 23 Sep 2021 20:03:21 +0000 (13:03 -0700)
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>
Fri, 24 Sep 2021 06:47:36 +0000 (08:47 +0200)
commit73eff8602ad10cb55cdb614241b18f3d842abbe1
treee91ad12e12d1407a5c4988a091ea8ca931c2e3a1
parentd50497c4a05e73e76874fd0d4942036375a7ec0f
platform/chrome: cros-ec-typec: Cleanup use of check_features

cros_ec_check_features() now returns a boolean. Remove the double NOT
operator since it's not required anymore.

No functional changes are expected with this patch.

Signed-off-by: Prashant Malani <pmalani@chromium.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20210923200321.3623222-1-pmalani@chromium.org
drivers/platform/chrome/cros_ec_typec.c