SAMPLE_NR
for (i = 0; i < SAMPLE_NR; i++) {
if (max > SAMPLE_NR / 2)
rtc = devm_kzalloc(&pdev->dev, struct_size(rtc, val_to_freq, SAMPLE_NR),