Defender Alan Tate has ended his loan spell at Leeds United and has returned to parent club Swansea City.