aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>2020-03-04 12:54:53 +0100
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>2020-03-04 12:56:14 +0100
commit38886ab31c78fba902c6236e77e26a6705e14757 (patch)
tree775f26aa912f66aa3bcef35b7dc242a5607c8533
parent147fcf4c67667f7313a45ab4d43dff0d078fbd7a (diff)
downloadcros-ec-tests-38886ab31c78fba902c6236e77e26a6705e14757.tar.gz
test_cros_ec_gyro: Remove non-standard frequency entry
The 'frequency' IIO sysfs entry doesn't seem to exist neither is documented in the Documentation/ABI, so remove it. Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
-rw-r--r--cros/tests/cros_ec_gyro.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/cros/tests/cros_ec_gyro.py b/cros/tests/cros_ec_gyro.py
index 4a0cec1..1fcf243 100644
--- a/cros/tests/cros_ec_gyro.py
+++ b/cros/tests/cros_ec_gyro.py
@@ -2,7 +2,6 @@
# -*- coding: utf-8 -*-
from cros.helpers.sysfs import *
-from cros.helpers.kernel import *
import unittest
@@ -33,7 +32,3 @@ class TestCrosECGyro(unittest.TestCase):
sysfs_check_attributes_exists(
self, "/sys/bus/iio/devices", "cros-ec-gyro", files, True
)
- if kernel_greater_than(5, 4, 0):
- sysfs_check_attributes_exists(
- self, "/sys/bus/iio/devices", "cros-ec-gyro", ["frequency"], True
- )