summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorLuke D. Jones <luke@ljones.dev>2022-08-13 10:25:09 +1200
committerHans de Goede <hdegoede@redhat.com>2022-08-25 16:23:53 +0200
commitebc443ad379fad80b8fc350f35cc0652b8447995 (patch)
treed10a0b8fb2d453c00ca199ff279920375938ebb2 /lib/mpi/mpi-sub-ui.c
parent36450e7db0fe55c338f32059382a2d8342cbc9a1 (diff)
platform/x86: asus-wmi: Refactor panel_od 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-7-luke@ljones.dev Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions