[PATCH 3.4 089/125] spi: fix parent-device reference leak

2016-10-12 Thread lizf
From: Johan Hovold 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 157f38f993919b648187ba341bfb05d0e91ad2f6 upstream. Fix parent-device reference leak due to SPI-core taking an unnecessary reference to the parent when

[PATCH 3.4 089/125] spi: fix parent-device reference leak

2016-10-12 Thread lizf
From: Johan Hovold 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 157f38f993919b648187ba341bfb05d0e91ad2f6 upstream. Fix parent-device reference leak due to SPI-core taking an unnecessary reference to the parent when allocating the