ep.c: convert to new ipr api

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>