USB: bcma: use simpler devm helper for getting vcc GPIO
authorRafał Miłecki <zajec5@gmail.com>
Wed, 23 Mar 2016 11:37:11 +0000 (12:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Apr 2016 23:11:22 +0000 (16:11 -0700)
commit1507372b97a098fd51b92c4dbdbbcd65cba26939
tree5ec5d2b088ef6018e711c11ca88a561f90ea8ad0
parentc06fac7fa0a09a791b01f2cd963cbacdc878d69f
USB: bcma: use simpler devm helper for getting vcc GPIO

Thanks to switching to devm_gpiod_get:
1) We don't have to pass fwnode pointer
2) We can request initial GPIO value at getting call
This was successfully tested on Netgear R6250 (BCM4708).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/bcma-hcd.c