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

From: Jean Delvare
Date: Tue Oct 19 2010 - 14:31:29 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/