On Wednesday 23 November 2011 16:10:49 Robert Deliën wrote: > -#ifndef name_to_gpio > -#define name_to_gpio(name) simple_strtoul(name, NULL, 10) > +#ifndef gpio_name_to_pin > +#define gpio_name_to_pin(name) simple_strtoul(name, NULL, 10) > #endif
as for the underlying reason, i don't have a problem with renaming things. but the reason i picked "name_to_gpio" instead of "gpio_to_name" was that this is not part of the Linux GPIO API. i didn't want to use a name that'd end up clashing. but i guess the naming convention didn't translate well and it just confuses people. gpio_to_name() should be fine. no need to mention "pin" in there. -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot