/* Write to port 'port' register 'reg', where the registers for the different ports are 'spacing' registers apart.  */
static void pm3386_port_reg_write(int port, int _reg, int spacing, u16 value)
/* Write to port 'port' register 'reg', where the registers for the different ports are 'spacing' registers apart.  */
static void pm3386_port_reg_write(int port, int _reg, int spacing, u16 value)
{
	int reg;
	reg = _reg;
	if (port & 1)
		reg += spacing;
	pm3386_reg_write(port >> 1, reg, value);
}