There is no controlling barrel distortion, it's a property of the lens. Do you mean perspective distortion? In that case the DA21 has less becuase it is a longer lens. As you shoot you can control it by keeping it parrellel to the ground.
I use PTLens on both my DA15 and DA21 (at times, not for every shot) to correct perspective distortion and for the DA21 barrel, however for some reason PTLens doesn't have a DA15 profile to correct barrel, but luckily it has very little anyway.
That clear? I rambled a bit there....
Edit: Oh yeah, there is in camera correction for barrel distortion, but only for jpegs, it doesn't correct RAWs.
This is an example perspective distortion, in camera does nothing for this in jpeg or RAW, notice how the poles and buildings are leaning over....