On Wed, Feb 24, 2010 at 05:57:25PM -0600, Olaya, Margarita wrote: > > A switch statement would be nicer here. > You mean something like this? > switch (reg) { > case TWL6030_REG_ASICID: > case TWL6030_REG_ASICREV: > case TWL6030_REG_STATUS: > continue; > default: > break: > } Yes. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html