i2c: i801: Drop needless bit-wise OR
authorJean Delvare <jdelvare@suse.de>
Wed, 25 May 2016 07:37:02 +0000 (09:37 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 13 Jun 2016 20:32:09 +0000 (22:32 +0200)
commita90bc5d9a77a4e0d5e65f69ef56eb40627f50e3e
tree5d2f10373f0c5edb81091884382a9f0111fece42
parent0f614d834bccd3537881c5d0933803b407ce3283
i2c: i801: Drop needless bit-wise OR

The interrupt handling code makes it look like several status values
may be merged together before being processed, while this will never
happen. Change from bit-wise OR to simple assignment to make it more
obvious and avoid misunderstanding.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-i801.c