driver/kmd/armchina-aipu/aipu.c
/**
 * @armchina_aipu_remove() - remove operation for platfom driver provided by ArmChina
 * @p_dev: pointer to the AIPU platform device struct
 *
 * This function should be called in a SoC vendor provided xx_aipu_remove() function,
 * which is registered to the platfom_driver struct; if no such xx_aipu_remove() is provided,
 * this function should be directly registered to the platfom_driver struct.
 *
 * Return: 0 on success and error code otherwise.
 */
@armchina_aipu_remove() - remove operation for platfom driver provided by ArmChina
@p_dev: pointer to the AIPU platform device struct

This function should be called in a SoC vendor provided xx_aipu_remove() function,
which is registered to the platfom_driver struct; if no such xx_aipu_remove() is provided,
this function should be directly registered to the platfom_driver struct.

0 on success and error code otherwise.
@armchina_aipu_remove () - remove operation for platfom driver provided by ArmChina @p_dev : pointer to the AIPU platform device struct This function should be called in a SoC vendor provided xx_aipu_remove () function which is registered to the platfom_driver struct ; if no such xx_aipu_remove () is provided this function should be directly registered to the platfom_driver struct . 0 on success and error code otherwise .
int armchina_aipu_remove(struct platform_device *p_dev)
{
	if (!aipu || !aipu->is_init)
		return 0;
	return deinit_aipu_priv(aipu);
}
int armchina_aipu_remove ( struct platform_device * p_dev ) { if ( ! aipu || ! aipu -> is_init ) return 0 ; return deinit_aipu_priv ( aipu ) ; }
@armchina_aipu_remove() - remove operation for platfom driver provided by ArmChina
 @p_dev: pointer to the AIPU platform device struct
@armchina_aipu_remove () - remove operation for platfom driver provided by ArmChina @p_dev : pointer to the AIPU platform device struct