i2c: i801: use BIT() macro for bits definition
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 13 Oct 2016 12:10:37 +0000 (14:10 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 24 Nov 2016 15:22:03 +0000 (16:22 +0100)
commitfe9ba3ec1b6d472c4304728b8193900e7b160ea6
treef2cf3bf09f56bdf3f43a09a56af05016e5ebd5b0
parent9786b1f19ecff36909d3255d5a808012ca3568a6
i2c: i801: use BIT() macro for bits definition

i801 mixes hexadecimal and decimal values for defining bits. However,
we have a nice BIT() macro for this exact purpose.

No functional changes, cleanup only.

Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-i801.c