ptp: switch to use gpiolib
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 10 Sep 2013 11:15:18 +0000 (13:15 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 27 Sep 2013 12:15:27 +0000 (14:15 +0200)
commitdc6ab07d8f158b6c0a86fc412215692b28632c23
tree5a57d89fa0db3cffd2f14cc491619091e391e41f
parentb22973d0ecfcf499179870599b0f6e0712ff0a14
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 <kaloz@openwrt.org>
Cc: Alexandre Courbot <acourbot@nvidia.com>
Cc: netdev@vger.kernel.org
Acked-by: Richard Cochran <richardcochran@gmail.com>
Acked-by: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/ptp/ptp_ixp46x.c