/* i2c_write - write data to an i2c device @chip: i2c chip addr @addr: memory (register) address in the chip @alen: byte size of address @buffer: buffer holding data to write to chip @len: how many bytes to write  */
int i2c_write(uchar chip, uint addr, int alen, uchar *buffer, int len)
/* i2c_write - write data to an i2c device @chip: i2c chip addr @addr: memory (register) address in the chip @alen: byte size of address @buffer: buffer holding data to write to chip @len: how many bytes to write  */
int i2c_write(uchar chip, uint addr, int alen, uchar *buffer, int len)
{
	return i2c_transfer(chip, addr, alen, buffer, len, 0);
}