summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2017-06-04 11:02:25 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-04 11:16:25 +0300
commitc6f7f2f4591f63ec0eba903fceb242af3af5d12c (patch)
treeefdea08ae5dac3b379c984e03c1956823a7624ca /include
parent13ddf621568c5f9d2467fd46f8a0b11c6d5616f4 (diff)
downloadlinux-c6f7f2f4591f63ec0eba903fceb242af3af5d12c.tar.xz
staging: ccree: refactor LLI access macros
The Linked List Item descriptors were being programmed via a set of macros which suffer a few problems: - Use of macros rather than inline leaves out parameter type checking and risks multiple macro parameter evaluation side effects. - Implemented via hand rolled versions of bitfield operations. This patch refactors LLI programming into a set of of inline functions using generic kernel bitfield access infrastructure, thus resolving the above issues and opening the way later on to drop the hand rolled bitfield macros once additional users are dropped in later patches in the series. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions