On Mon, 15 Oct 2012 19:58:52 +0200 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> wrote: > > +static int clps711x_tstc(struct console_device *cdev) > > +{ > > + return !(readl(SYSFLG(cdev->dev->id)) & SYSFLG_URXFE); > factorise those pull status as > > status int xxx(data, mask) {} Not clean understand this comment. You mean about one more define for check status? -- Alexander Shiyan <shc_work@xxxxxxx> _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox