/* Clocks in one byte data via I2C data/clock  */
static s32 ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data)
/* Clocks in one byte data via I2C data/clock  */
static s32 ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data)
{
	s32 status = 0;
	s32 i;
	bool bit = 0;
	for (i = 7; i >= 0; i--) {
		status = ixgbe_clock_in_i2c_bit(hw, &bit);
		*data |= bit << i;
		if (status != 0)
			break;
	}
	return status;
}