[PATCH] drm: kill the ->agp_destroy callback

2013-11-03 Thread Daniel Vetter
Call drm_pci_agp_destroy directly, there's no point in the indirection. Long term we want to shuffle this into each driver's unload logic, but that needs cleared-up drm lifetime rules first. v2: Add a dummy function for !CONFIG_PCI, spotted my David Herrmann. v3: Fixup for the coding style police

[PATCH] drm: kill the ->agp_destroy callback

2013-11-03 Thread David Herrmann
Hey Daniel On Sun, Nov 3, 2013 at 3:24 PM, Daniel Vetter wrote: > Call drm_pci_agp_destroy directly, there's no point in the > indirection. Long term we want to shuffle this into each driver's > unload logic, but that needs cleared-up drm lifetime rules first. > > v2: Add a dummy function for !CO

[PATCH] drm: kill the ->agp_destroy callback

2013-11-03 Thread Daniel Vetter
Call drm_pci_agp_destroy directly, there's no point in the indirection. Long term we want to shuffle this into each driver's unload logic, but that needs cleared-up drm lifetime rules first. v2: Add a dummy function for !CONFIG_PCI, spotted my David Herrmann. Reviewed-by: David Herrmann Cc: Davi