diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-09-16 21:23:47 +0500 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2026-09-24 15:12:57 +0100 |
| commit | b761214ac8d48f20be2e76d415762bce05474f55 (patch) | |
| tree | a636e6dadfc8ad052e8684fb48322a640aa9e0d4 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 3c5c55d979ddcb0765ce531bc7ba173c87c8712a (diff) | |
mfd: intel-lpss: Remove redundant DebugFS error check
The DebugFS API is designed to handle errors gracefully.
Any explicit checking on return values is considered an anti-pattern.
This patch removes unnecessary error checking and converts
intel_lpss_debugfs_add() into a void function.
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260916-intel-lpss-debugfs-v7-1-eb51d41f55e0@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
