FreeBSD/sys/dev/drm2/radeon/radeon_device.c
/**
 * radeon_atombios_fini - free the driver info and callbacks for atombios
 *
 * @rdev: radeon_device pointer
 *
 * Frees the driver info and register access callbacks for the ATOM
 * interpreter (r4xx+).
 * Called at driver shutdown.
 */
free the driver info and callbacks for atombios
@rdev: radeon_device pointer

Frees the driver info and register access callbacks for the ATOM
interpreter (r4xx+).
Called at driver shutdown.
free the driver info and callbacks for atombios @rdev : radeon_device pointer Frees the driver info and register access callbacks for the ATOM interpreter ( r4xx + ) . Called at driver shutdown .
void radeon_atombios_fini(struct radeon_device *rdev)
{
	if (rdev->mode_info.atom_context) {
		free(rdev->mode_info.atom_context->scratch, DRM_MEM_DRIVER);
		atom_destroy(rdev->mode_info.atom_context);
	}
	free(rdev->mode_info.atom_card_info, DRM_MEM_DRIVER);
}
void radeon_atombios_fini ( struct radeon_device * rdev ) { if ( rdev -> mode_info . atom_context ) { free ( rdev -> mode_info . atom_context -> scratch , DRM_MEM_DRIVER ) ; atom_destroy ( rdev -> mode_info . atom_context ) ; } free ( rdev -> mode_info . atom_card_info , DRM_MEM_DRIVER ) ; }
radeon_atombios_fini - free the driver info and callbacks for atombios
 @rdev: radeon_device pointer
radeon_atombios_fini - free the driver info and callbacks for atombios @rdev : radeon_device pointer