diff options
| author | Hugo Villeneuve <hvilleneuve@dimonoff.com> | 2024-01-18 10:22:08 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-01-27 19:05:04 -0800 |
| commit | 08ad4824f74dd64bde06f8530505ae2b663953c2 (patch) | |
| tree | 090c5501ddae475ca0f961513e145147bfc338e0 /tools/perf/scripts/python | |
| parent | serial: max310x: use dev_err_probe() instead of dev_err() (diff) | |
| download | linux-08ad4824f74dd64bde06f8530505ae2b663953c2.tar.gz linux-08ad4824f74dd64bde06f8530505ae2b663953c2.zip | |
serial: max310x: replace hardcoded masks with preferred GENMASK()
GENMASK() is preferred when defining bitmasks.
Of all the masks changed, only MAX310x_REV_MASK is actually used.
No functional change.
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://lore.kernel.org/r/20240118152213.2644269-13-hugo@hugovil.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
