Re: [PATCH v3 2/2] power: Adds support for Smart Battery System Manager

Wolfram Sang
2016-07-19T04:17:36Z

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

> + data->muxc = i2c_mux_alloc(adapter, dev, SBSM_MAX_BATS, 0,
> + I2C_MUX_LOCKED, &sbsm_select, NULL);
> + if (!data->muxc) {
> + dev_err(dev, "failed to alloc i2c mux\n");

Don't print errors on ENOMEM.

Other than that, looks good to me, yet Peter has more insight to
i2c-muxes these days.

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