docs: i2c: use the new API in 'writing-clients'