Searched refs:sdam_count (Results 1 – 1 of 1) sorted by relevance
1547 int i, sdam_count, rc; in lpg_init_sdam() local1550 sdam_count = of_property_count_strings(lpg->dev->of_node, "nvmem-names"); in lpg_init_sdam()1551 if (sdam_count <= 0) in lpg_init_sdam()1553 if (sdam_count > SDAM_MAX_DEVICES) in lpg_init_sdam()1562 if (sdam_count == 1) { in lpg_init_sdam()1568 } else if (sdam_count == 2) { in lpg_init_sdam()