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