From 2d3964ec29ecc5df5783f8c7366fb1416f83f68c Mon Sep 17 00:00:00 2001 From: Dave Frodin Date: Tue, 12 May 2015 06:53:11 -0600 Subject: superio: Replace the indexed I/O functions Replace the multiple indexed I/O read and write functions with common functions. Change-Id: Idfe7a8784c28d51b3fbcb2f4e26beaa0b91741a8 Signed-off-by: Dave Frodin Reviewed-on: http://review.coreboot.org/10145 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/superio/ite/it8728f/it8728f_hwm.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/superio/ite/it8728f') diff --git a/src/superio/ite/it8728f/it8728f_hwm.c b/src/superio/ite/it8728f/it8728f_hwm.c index 23fa9e8830..47dd274689 100644 --- a/src/superio/ite/it8728f/it8728f_hwm.c +++ b/src/superio/ite/it8728f/it8728f_hwm.c @@ -35,12 +35,6 @@ #define HWM_FAN3_CTL_PWM 0x17 /* default 0x00 */ #define HWM_ADC_TEMP_CHAN_EN_REG 0x51 /* default 0x00 */ -static void pnp_write_index(u16 port, u8 reg, u8 value) -{ - outb(reg, port); - outb(value, port + 1); -} - void it8728f_hwm_ec_init(struct device *dev) { struct superio_ite_it8728f_config *conf = dev->chip_info; -- cgit v1.2.3