diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-04-09 17:45:54 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-09 17:04:53 +0200 |
commit | 69b2cc30315ac48e3a6308a7f736f67c3e3db0b1 (patch) | |
tree | bc331cc73462c54295b7b9a221705b2c9eb42859 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1d01740efb6856cf02905a84bf04b70d223993c2 (diff) |
serial: max3100: Extract to_max3100_port() helper macro
Instead of using container_of() explicitly, introduce a helper macro.
This saves a lot of lines of code.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://lore.kernel.org/r/20240409144721.638326-8-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions