[PATCH 3.10 90/97] i7300_edac: Fix device reference count

2014-03-04 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jean Delvare commit 75135da0d68419ef8a925f4c1d5f63d8046e314d upstream. pci_get_device() decrements the reference count of "from" (last argument) so when we break off the loop successfully we

[PATCH 3.10 90/97] i7300_edac: Fix device reference count

2014-03-04 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jean Delvare jdelv...@suse.de commit 75135da0d68419ef8a925f4c1d5f63d8046e314d upstream. pci_get_device() decrements the reference count of from (last argument) so when we break off the loop