]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: piix4: Always use the same type for port
authorJean Delvare <jdelvare@suse.de>
Fri, 29 Jan 2016 09:45:30 +0000 (10:45 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 24 Feb 2016 14:59:05 +0000 (15:59 +0100)
commitb23f71178838275d5f08b1fe7b97b2a6c329f105
tree07f396ffaed20b71faf1206bcd89da16e7911f00
parente3572ef61b9dd19fa99ae56ec1de3326d6368239
i2c: piix4: Always use the same type for port

Sometimes u8 is used to store the port number, sometimes unsigned
short is used. Consistently stick to a single type, for consistency
and to avoid implicit casts.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-piix4.c