> > tsr = bg_ptr->conf->sensors[id].registers; > > time = omap_bandgap_readl(bg_ptr, tsr->bgap_counter); > > - if (ret) > > - return ret; > > time = (time & tsr->counter_mask) >> __ffs(tsr->counter_mask); > > time = time * 1000 / bg_ptr->clk_rate; > > > > since * and / have the same priority > (time*1000)/bg_ptr->clk_rate > may be better > > just to serve my paranoia OK, I can do that, but maybe not in the same patch? julia -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html