ptp: switch to use gpiolib
ptp: switch to use gpiolib

This platform supports gpiolib, so remove the custom API use
and replace with calls to gpiolib. Also request the GPIO before
starting to use it.

Cc: Imre Kaloz <9fa18aedd982da975b2d97e5cdaef39466bfd1fa@openwrt.org>
Cc: Alexandre Courbot <301cd6a3ea50a894b4b51e385c5eb12b9a4ffc0c@nvidia.com>
Cc: 1099b3bee480025a15c1b622ecdea77a1d6d7166@vger.kernel.org
Acked-by: Richard Cochran <e27030aebe9cad8817d34b8c31dbaf301fb798b9@gmail.com>
Acked-by: Krzysztof Halasa <7ffc4bfffc0726593d1f058990d80f1d8b36bc5a@pm.waw.pl>
Signed-off-by: Linus Walleij <9cd9d802d23c0ed5e224beabf4ae4a5c478746ef@linaro.org>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs