commit | 37a3862e1238262e9866d5d66e5f5f9069cee3a1 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Wed Jun 20 08:58:29 2018 +0200 |
committer | Kalle Valo <kvalo@codeaurora.org> | Wed Jun 27 18:58:49 2018 +0300 |
tree | 10be8fde046be1efc4316dbfd055d0e5f8b4d4d3 | |
parent | e7d4a95da86e0b048702765bbdcdc968aaf312e7 [diff] |
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>