[RFC PATCH] cammand/gpio: switch to getopt

Sascha Hauer s.hauer at pengutronix.de
Fri Jun 10 04:02:33 EDT 2011


On Fri, Jun 10, 2011 at 09:05:07AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 09:04 Fri 10 Jun     , Sascha Hauer wrote:
> > On Thu, Jun 09, 2011 at 08:03:04PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > > this will simplify the implementation and save 296 bytes
> > 
> > This is both true. Still I like the old syntax of the commands very
> > much. Actually the commands have the same name as in the kernel and
> > it feels just good to type.
> maybe we can drop the command
> and add a devfs entry

How? With the gpio commands you have to specify two parameters at once.
I can't see how to archieve this with device parameters.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list