diff options
| author | Mark Brown <broonie@kernel.org> | 2025-04-18 05:11:47 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-04-18 05:11:47 +0100 |
| commit | cbc9d9e108f4f2a3c061ac6233a424accde8b564 (patch) | |
| tree | 69b3521b2bbc023ca7e9ac55dffae9a2695d9a12 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | spi: dt-bindings: Fix description mentioning a removed property (diff) | |
| parent | spi: dw: Use spi_bpw_to_bytes() helper (diff) | |
| download | linux-cbc9d9e108f4f2a3c061ac6233a424accde8b564.tar.gz linux-cbc9d9e108f4f2a3c061ac6233a424accde8b564.zip | |
spi: Introduce and use spi_bpw_to_bytes()
Merge series from Andy Shevchenko <andriy.shevchenko@linux.intel.com>:
Recently in the discussion with David the idea of having
a common helper popped up. The helper converts the given
bits per word to bytes. The result will always be power-of-two
(e.g. for 37 bits it returns 8 bytes) or 0 for 0 input.
More details are in the respective code comment.
This mini-series introduces it and replaces current users
under drivers/spi and we expect more (and possibly some
lurking in other subsystems).
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
