adt7470_freq_map 698 drivers/hwmon/adt7470.c static const int adt7470_freq_map[] = { adt7470_freq_map 718 drivers/hwmon/adt7470.c if (index >= ARRAY_SIZE(adt7470_freq_map)) adt7470_freq_map 719 drivers/hwmon/adt7470.c index = ARRAY_SIZE(adt7470_freq_map) - 1; adt7470_freq_map 721 drivers/hwmon/adt7470.c return scnprintf(buf, PAGE_SIZE, "%d\n", adt7470_freq_map[index]); adt7470_freq_map 739 drivers/hwmon/adt7470.c index = find_closest(freq, adt7470_freq_map, adt7470_freq_map 740 drivers/hwmon/adt7470.c ARRAY_SIZE(adt7470_freq_map));