summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2025-02-21 08:40:04 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-03 12:24:24 +0300
commit403849c8edc1551d1a489b1b942f68d75758e98a (patch)
tree2f579b8cd7b256c32938e09efef1d0ddfac75fd8 /scripts/objdiff
parentc16006852732dc4fe37c14b81f9b4458df05b832 (diff)
downloadlinux-403849c8edc1551d1a489b1b942f68d75758e98a.tar.xz
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 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions