On Mon, 15 Oct 2012 19:58:52 +0200 Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> 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_w...@mail.ru> _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox