aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_bitfield.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2018-06-20 08:58:29 +0200
committerKalle Valo <kvalo@codeaurora.org>2018-06-27 18:58:49 +0300
commit37a3862e1238262e9866d5d66e5f5f9069cee3a1 (patch)
tree10be8fde046be1efc4316dbfd055d0e5f8b4d4d3 /lib/test_bitfield.c
parentbitfield: fix *_encode_bits() (diff)
downloadlinux-dev-37a3862e1238262e9866d5d66e5f5f9069cee3a1.tar.xz
linux-dev-37a3862e1238262e9866d5d66e5f5f9069cee3a1.zip
bitfield: add u8 helpers
There's no reason why we shouldn't pack/unpack bits into/from u8 values/registers/etc., so add u8 helpers. Use the ____MAKE_OP() macro directly to avoid having nonsense le8_encode_bits() and similar functions. Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'lib/test_bitfield.c')
0 files changed, 0 insertions, 0 deletions