mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
From: Thibaut VARENE <[email protected]> Cleaning up the hwif without knowing its previous state in pmac.c is a big and potentially dangerous job, and there seems to be no generic code interface that would provide either a way to properly release an hwif or to clean it up. Fixes OOPS for empty PMAC interface and add-on PCI controller. Acked-by: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>