Use the proper API instead of open coding it. Reviewed-by: Dave Martin <Dave.Martin@arm.com> Acked-by: Nicolas Pitre <nico@fluxnic.net> Signed-off-by: Frederic Weisbecker <frederic@kernel.org>