According to this interview from June www.businessinsider.com/linus-torvalds-qa-2014-6 he used a Mac Air but switched to a Sony Vaio because of the screen (no details given). Did he change again? Possible. Anyway, obviously Macs work with Linux. There were some little problems with Linux and the latest Macs when I made my research at the beginning of the year. That happened with the old ones too and were fixed along the months. I had to buy something pretty quickly in February (the old laptop was dying) so I went for a HP laptop I knew worked reasonably well with Linux despite being as new as those Macs. HP's cheap on site next business day assistance was part of the reason for buying from them again. Another reason is that I can open the back of that laptop without screwdrivers and swap RAM and discs. Apparently I can swap also the CPU but probably sockets will change before I'll need to do that.
I think you may find this is no longer the case... Linus himself uses a MBP nowadays