Board layout for switching regulator