/** * radeon_atpx_init - verify the ATPX interface * * Verify the ATPX interface (all asics). * Returns 0 on success, error on failure. */ static int radeon_atpx_init(void) { int r; /* set up the ATPX handle */ r = radeon_atpx_verify_interface(&radeon_atpx_priv.atpx); if (r) return r; /* validate the atpx setup */ r = radeon_atpx_validate(&radeon_atpx_priv.atpx); if (r) return r; return 0; }
/** * radeon_atpx_init - verify the ATPX interface * * Verify the ATPX interface (all asics). * Returns 0 on success, error on failure. */ static int radeon_atpx_init(void) { /* set up the ATPX handle */ return radeon_atpx_verify_interface(&radeon_atpx_priv.atpx); }