[PATCH v2 2/2] regmap: i2c: fallback to SMBus if the adapter does not support standard I2C

Mark Brown broonie at kernel.org
Fri Apr 18 08:10:56 PDT 2014


On Thu, Apr 17, 2014 at 11:40:12AM +0200, Boris BREZILLON wrote:

> +const struct regmap_bus *regmap_get_i2c_bus(struct i2c_client *i2c,
> +					    const struct regmap_config *config)

Non-exported functions should be static.  Otherwise this looks good
modulo the register size issue that Guenter identified.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140418/196e6243/attachment.sig>


More information about the linux-arm-kernel mailing list