aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2022-03-28 21:47:22 +0200
committerJonathan Cameron <[email protected]>2022-04-04 09:11:26 +0100
commit3139ff24e2bc25d619ef822491651ecfb886db90 (patch)
tree257d92f27870174fd958a4c180ca46d9e9b1581c /tools/perf/scripts/python/libxed.py
parentf1c9ce0ced2d2596bd979933ca9f57fdf8aabdfc (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/libxed.py')
0 files changed, 0 insertions, 0 deletions