mirror of
https://github.com/ARM-software/devlib.git
synced 2025-04-18 15:50:04 +01:00
cpuidle: fix exist() --> exists() typo.
This commit is contained in:
parent
74edfcbe43
commit
156915f26f
@ -174,6 +174,6 @@ class Cpuidle(Module):
|
|||||||
|
|
||||||
def get_governor(self):
|
def get_governor(self):
|
||||||
path = self.target.path.join(self.root_path, 'current_governor_ro')
|
path = self.target.path.join(self.root_path, 'current_governor_ro')
|
||||||
if not self.target.path.exist(path):
|
if not self.target.path.exists(path):
|
||||||
path = self.target.path.join(self.root_path, 'current_governor')
|
path = self.target.path.join(self.root_path, 'current_governor')
|
||||||
return self.target.read_value(path)
|
return self.target.read_value(path)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user