diff options
| author | Marek Vasut <[email protected]> | 2022-03-28 21:47:22 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2022-04-04 09:11:26 +0100 |
| commit | 3139ff24e2bc25d619ef822491651ecfb886db90 (patch) | |
| tree | 257d92f27870174fd958a4c180ca46d9e9b1581c /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | f1c9ce0ced2d2596bd979933ca9f57fdf8aabdfc (diff) | |
iio: adc: ti-ads1015: Add static assert to test if shifted realbits fit into storagebits
Add compile-time static_assert wrapper to verify that shifted realbits
fit into storagebits. The macro is implemented in a more generic way so
it can be used to verify other values if required.
Signed-off-by: Marek Vasut <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Cc: Daniel Baluta <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions