Skip to content

Commit 606e702

Browse files
osctobedtor
authored andcommitted
Input: mt - cleanup open-coded __set_bit()
Replace open-coded __set_bit() with the function. Signed-off-by: Michał Mirosław <[email protected]> Link: https://lore.kernel.org/r/cf1dda3a372896cb01033ce084a7deb9620df7aa.1594599118.git.mirq-linux@rere.qmqm.pl Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 6f49c4f commit 606e702

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/input/input-mt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ static void copy_abs(struct input_dev *dev, unsigned int dst, unsigned int src)
1616
if (dev->absinfo && test_bit(src, dev->absbit)) {
1717
dev->absinfo[dst] = dev->absinfo[src];
1818
dev->absinfo[dst].fuzz = 0;
19-
dev->absbit[BIT_WORD(dst)] |= BIT_MASK(dst);
19+
__set_bit(dst, dev->absbit);
2020
}
2121
}
2222

0 commit comments

Comments
 (0)