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)
commit62194e869a56bf9d6fc10b6bdf8f11b1c4386249
tree07f396ffaed20b71faf1206bcd89da16e7911f00
parent6befa3fde65fe437f588da490c07a114393ce229
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