diff options
| author | Luke D. Jones <luke@ljones.dev> | 2022-08-13 01:25:07 +0300 |
|---|---|---|
| committer | Hans de Goede <hdegoede@redhat.com> | 2022-08-25 17:23:53 +0300 |
| commit | cdf36fc865f0aff8de5a9afc3654f114c4d04cba (patch) | |
| tree | 480df031bf52afad90f83b186c1450af2b194060 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | d956c889be804742e39fbb3291b054b3cbf505be (diff) | |
| download | linux-cdf36fc865f0aff8de5a9afc3654f114c4d04cba.tar.xz | |
platform/x86: asus-wmi: Refactor disable_gpu attribute
The settings for these attributes can be read from the device, this
is now done instead of reading a stored value from module. The stored
value is also removed.
This means the simpler asus_wmi_dev_is_present() can be used in
*_check_present() - it is not an error for these methods to be
missing.
The _write() functions have their bodies shifted in to *_store()
which simplifies things further.
Signed-off-by: Luke D. Jones <luke@ljones.dev>
Link: https://lore.kernel.org/r/20220812222509.292692-5-luke@ljones.dev
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
