diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2025-09-07 15:42:17 +0200 |
|---|---|---|
| committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-09-09 06:31:13 -0700 |
| commit | 7b77941724628e6171a286edbf04d67a1f1c1459 (patch) | |
| tree | 8481a2c2e69dc3517ac2e522c32d2f41ed7717f6 /scripts/gdb/linux/proc.py | |
| parent | e57ae80fe01a2b039c689b2d14fef51b1ebbd7f8 (diff) | |
drm/xe/hwmon: Use devm_mutex_init()
Use devm_mutex_init() instead of hand-writing it.
This saves some LoC, improves readability and saves some space in the
generated .o file.
Before:
======
text data bss dec hex filename
36884 10296 64 47244 b88c drivers/gpu/drm/xe/xe_hwmon.o
After:
=====
text data bss dec hex filename
36651 10224 64 46939 b75b drivers/gpu/drm/xe/xe_hwmon.o
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Link: https://lore.kernel.org/r/989e96369e9e1f8a44b816962917ec76877c912d.1757252520.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
