Re: [PATCH v2] i2c/mux: Driver for PCA9541 I2C Master Selector

Jean Delvare
2010-10-19T18:31:25Z

On Tue, 19 Oct 2010 11:08:05 -0700, Guenter Roeck wrote:
> On Tue, Oct 19, 2010 at 01:06:47PM -0400, Jean Delvare wrote:
> > On Tue, 12 Oct 2010 18:15:16 -0700, Guenter Roeck wrote:
> > > + if (data->virt_adap == NULL) {
> > > + dev_err(&client->dev,
> > > + "failed to register master selector as bus %d\n",
> > > + force);
> >
> > This error message is somewhat confusing if "force" is 0: in that case
> > you didn't request any specific bus number.
>
> This is from pca954x code. Not sure how to rephrase it. Got an idea ?

Just "failed to register master selector\n" should do. The adapter
number doesn't really add any value.

--
Jean Delvare