Re: [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 & m41t85chips to m41t00 driver

From: Andrew Morton
Date: Sun Mar 26 2006 - 18:00:47 EST


"Mark A. Greer" <mgreer@xxxxxxxxxx> wrote:
>
> + struct i2c_msg msgs[] = {
> + { save_client->addr, 0, 1, msgbuf },
> + { save_client->addr, I2C_M_RD, 8, buf }

The

.name = value,

form would be preferred. It reduces the possibility of silent breakage if
someone changes struct i2c_msg.
-
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/