/* Some Board manufacturers do not add a NULL termination at the end of string, instead some binary information is kludged in, hence convert the string to just printable characters of ASCII chart.  */
static void __maybe_unused ti_eeprom_string_cleanup(char *s)
/* Some Board manufacturers do not add a NULL termination at the end of string, instead some binary information is kludged in, hence convert the string to just printable characters of ASCII chart.  */
static void __maybe_unused ti_eeprom_string_cleanup(char *s)
{
	int i, l;
	l = strlen(s);
	for (i = 0; i < l; i++, s++)
		if (*s < ' ' || *s > '~') {
			*s = 0;
			break;
		}
}