Use the generic function instead ot the target specific ones. Signed-off-by: Mathias Kresin <dev@kresin.me>