diff options
author | 2025-02-20 23:40:04 -0600 | |
---|---|---|
committer | 2025-03-03 10:24:24 +0100 | |
commit | 403849c8edc1551d1a489b1b942f68d75758e98a (patch) | |
tree | 2f579b8cd7b256c32938e09efef1d0ddfac75fd8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ucsi_ccg: Don't show failed to get FW build information error (diff) | |
download | linux-rng-403849c8edc1551d1a489b1b942f68d75758e98a.tar.xz linux-rng-403849c8edc1551d1a489b1b942f68d75758e98a.zip |
ucsi_ccg: Don't show non-functional attributes
If no fw_build is recognized for the controller there is no point to
exposing the `do_flash` attribute.
Add an is_visible callback to the attribute group and check for that
fw_build member to hide when not applicable.
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20250221054137.1631765-3-superm1@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions