Re: [PATCH 3/8] console: factorise function to get the console by name

2013-09-27 Thread Jean-Christophe PLAGNIOL-VILLARD
On Sep 27, 2013, at 5:05 PM, Sascha Hauer wrote: > On Fri, Sep 27, 2013 at 10:58:47AM +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: >> On 10:50 Fri 27 Sep , Sascha Hauer wrote: >>> On Fri, Sep 27, 2013 at 09:14:13AM +0200, Jean-Christophe PLAGNIOL-VILLARD >>> wrote: rename it to co

Re: [PATCH 3/8] console: factorise function to get the console by name

2013-09-27 Thread Sascha Hauer
On Fri, Sep 27, 2013 at 10:58:47AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 10:50 Fri 27 Sep , Sascha Hauer wrote: > > On Fri, Sep 27, 2013 at 09:14:13AM +0200, Jean-Christophe PLAGNIOL-VILLARD > > wrote: > > > rename it to console_get_by_name > > > > > > +struct console_device *c

Re: [PATCH 3/8] console: factorise function to get the console by name

2013-09-27 Thread Jean-Christophe PLAGNIOL-VILLARD
On 10:50 Fri 27 Sep , Sascha Hauer wrote: > On Fri, Sep 27, 2013 at 09:14:13AM +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > rename it to console_get_by_name > > > > +struct console_device *console_get_by_name(const char *cname) > > +{ > > + struct console_device *cdev; > > + const

Re: [PATCH 3/8] console: factorise function to get the console by name

2013-09-27 Thread Sascha Hauer
On Fri, Sep 27, 2013 at 09:14:13AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > rename it to console_get_by_name > > +struct console_device *console_get_by_name(const char *cname) > +{ > + struct console_device *cdev; > + const char *target; > + > + for_each_console(cdev) { > +

[PATCH 3/8] console: factorise function to get the console by name

2013-09-27 Thread Jean-Christophe PLAGNIOL-VILLARD
rename it to console_get_by_name Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- commands/loadxy.c | 26 ++ common/console_common.c | 17 + include/console.h | 1 + 3 files changed, 20 insertions(+), 24 deletions(-) diff --git a/commands/