summaryrefslogtreecommitdiffstats
path: root/drivers/hid/i2c-hid
diff options
context:
space:
mode:
authorDan Carpenter2015-05-14 10:32:56 +0200
committerJiri Kosina2015-05-18 11:22:53 +0200
commitaf43c4086cf24c3eb74a968195351163750c82b6 (patch)
tree04b01b156f190db2f87cb3656c1e1edde633818f /drivers/hid/i2c-hid
parentHID: core: remove phidgets from ignore list (diff)
downloadkernel-qcow2-linux-af43c4086cf24c3eb74a968195351163750c82b6.tar.gz
kernel-qcow2-linux-af43c4086cf24c3eb74a968195351163750c82b6.tar.xz
kernel-qcow2-linux-af43c4086cf24c3eb74a968195351163750c82b6.zip
HID: rmi: fix some harmless BIT() mistakes
These defines are used like this: if (!(test_bit(RMI_STARTED, &hdata->flags))) So the intent was to use bits 0, 1 and 2 but because of the extra BIT() shifts we're actually using 1, 2 and 4. It's harmless because it's done consistently but static checkers will complain. Fixes: 9fb6bf02e3ad ('HID: rmi: introduce RMI driver for Synaptics touchpads') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/i2c-hid')
0 files changed, 0 insertions, 0 deletions