summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorMichal Wajdeczko <michal.wajdeczko@intel.com>2025-09-16 19:00:29 +0200
committerMichal Wajdeczko <michal.wajdeczko@intel.com>2025-09-17 21:59:31 +0200
commitfb3c27a69c4736a9a78bb344b56907f8fb172edc (patch)
tree064dbf23f7b4a07972013b3e08ec25ae09e28e3e /rust/helpers/helpers.c
parenta2d6223d224f333f705ed8495bf8bebfbc585c35 (diff)
drm/xe/sysfs: Simplify sysfs registration
Instead of manually maintaining each sysfs file define and use attribute groups and register them using device managed function. Then use is_visible() to filter-out unsupported attributes. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: Lucas De Marchi <lucas.demarchi@intel.com> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Cc: Raag Jadav <raag.jadav@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://lore.kernel.org/r/20250916170029.3313-3-michal.wajdeczko@intel.com
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions