summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2025-04-18 05:11:47 +0100
committerMark Brown <broonie@kernel.org>2025-04-18 05:11:47 +0100
commitcbc9d9e108f4f2a3c061ac6233a424accde8b564 (patch)
tree69b3521b2bbc023ca7e9ac55dffae9a2695d9a12 /scripts/lib/kdoc/kdoc_parser.py
parent4cc9cf2f437ccf6915100c2f38f63cfb1abad6f9 (diff)
parente30b7a75666b3f444abfabed6a144642fa9994d8 (diff)
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 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions