Regulators of canonical extensions are torsion: the smooth divisor case