FreeBSD/sys/arm/ti/am335x/am335x_dmtpps.c
/*
 * Translate a short friendly case-insensitive name to its canonical name.
 */
Translate a short friendly case-insensitive name to its canonical name.
Translate a short friendly case - insensitive name to its canonical name .
static const char *
dmtpps_translate_nickname(const char *nick)
{
	struct nicknames *nn;
	for (nn = dmtpps_pin_nicks; nn->nick != NULL; nn++)
		if (strcasecmp(nick, nn->nick) == 0)
			return nn->name;
	return (nick);
}
static const char * dmtpps_translate_nickname ( const char * nick ) { struct nicknames * nn ; for ( nn = dmtpps_pin_nicks ; nn -> nick != NULL ; nn ++ ) if ( strcasecmp ( nick , nn -> nick ) == 0 ) return nn -> name ; return ( nick ) ; }
Translate a short friendly case-insensitive name to its canonical name.
Translate a short friendly case - insensitive name to its canonical name .