summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorDaniel Chromik <daniel.chromik@seznam.cz>2016-02-11 13:29:23 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-11 19:24:23 -0800
commitbea7433bac02b1fcee71494b3939e9feed2790cf (patch)
treee1cc384f0a538ea46284e76d5427245ef8a5c159 /mm
parent8c79c49c803da7e1bd21da0374cf02083becae04 (diff)
downloadlinux-stable-bea7433bac02b1fcee71494b3939e9feed2790cf.tar.gz
linux-stable-bea7433bac02b1fcee71494b3939e9feed2790cf.tar.bz2
linux-stable-bea7433bac02b1fcee71494b3939e9feed2790cf.zip
misc: panel, convert struct to bitmap
There is an anonymous struct which is actually used as a bitmap. So convert the struct to a bitmap and change code accordingly where needed. This also allows for a cleanup of set_data_bits and set_ctrl_bits as they can use a common helper now. The helper can also be converted to a for loop instead of doing bit OR. And given it is a for loop now, bit masking (using BIT_MSK) is moved from the callers there too. Signed-off-by: Daniel Chromik <daniel.chromik@seznam.cz> Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Ksenija Stanojevic <ksenija.stanojevic@gmail.com> Acked-by: Willy Tarreau <willy@haproxy.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions