summaryrefslogtreecommitdiff
path: root/drivers/w1
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-02-03 19:18:17 -0200
committerFelipe Balbi <balbi@ti.com>2015-03-11 10:19:38 -0500
commit168bdb88c3ab1f66c061a6220c18939ef20ba42e (patch)
tree5b3f4aaf25df39ccb7c7deb836d315de3613b402 /drivers/w1
parentf4e4f8dae3753685e577143e8116cbac52f13cc4 (diff)
usb: phy: phy-generic: No need to call gpiod_direction_output() twice
Commit 9eb0797722895f4309b4 ("usb: phy: generic: fix the gpios to be optional") calls gpiod_direction_output() in the probe function, so there is no need to call it again, as we can simply call gpiod_set_value() directly. Also, in usb_gen_phy_shutdown() we can simply put the GPIO directly in its active level state and this allows us to simplify the nop_reset function to treat only the reset case. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions