aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>2020-03-04 12:52:55 +0100
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>2020-03-04 12:56:14 +0100
commit147fcf4c67667f7313a45ab4d43dff0d078fbd7a (patch)
tree876baa7b6e50ba8b48262536c28aef12996634c5
parentdfc68505440f79648daa02a7d2627e984edd6e16 (diff)
downloadcros-ec-tests-147fcf4c67667f7313a45ab4d43dff0d078fbd7a.tar.gz
test_cros_ec_accel: 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_accel.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/cros/tests/cros_ec_accel.py b/cros/tests/cros_ec_accel.py
index 9e0ac16..8cdf3b1 100644
--- a/cros/tests/cros_ec_accel.py
+++ b/cros/tests/cros_ec_accel.py
@@ -2,7 +2,6 @@
# -*- coding: utf-8 -*-
from cros.helpers.sysfs import *
-from cros.helpers.kernel import *
import math
import unittest
@@ -34,10 +33,6 @@ class TestCrosECAccel(unittest.TestCase):
sysfs_check_attributes_exists(
self, "/sys/bus/iio/devices", "cros-ec-accel", files, True
)
- if kernel_greater_than(5, 4, 0):
- sysfs_check_attributes_exists(
- self, "/sys/bus/iio/devices", "cros-ec-accel", ["frequency"], True
- )
def test_cros_ec_accel_iio_data_is_valid(self):
""" Validates accelerometer data by computing the magnitude. If the