Re: [PATCH v3] i2c: Add support for NXP PCA984x family.

Wolfram Sang
2017-12-14T00:36:59Z

[-- Attachment #1: Type: text/plain, Size: 265 bytes --]

> Do you have in mind sth like i2c_smbus_write_i2c_device_device_id function ?

SMBus? It's I2C. And write? I'd call it:

u32 i2c_get_device_id(struct client* client)

Instead of returning an u32, we could return a struct where the bits are
already decoded, too.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]