Converted primary property into rental

As the line says, I converted my primary property into a rental. I as living there for the first ten months of the year. At the end of the year I got a 1098 from my lender.

 

When I was inputting my rental income on Turbo Tax, I deducted the mortgage interest I paid in the two months when it was a rental.

 

Then, when I got to the deduction section, I uploaded the 1098 I got from my lender and subtracted the amount I had put in earlier to offset my rental income. 

 

Is that the right way to do it?