phy: rcar-gen3-usb2: use enum phy_mode in the role_store()
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Thu, 12 Oct 2017 06:34:46 +0000 (15:34 +0900)
committerKishon Vijay Abraham I <kishon@ti.com>
Mon, 23 Oct 2017 05:49:26 +0000 (11:19 +0530)
commitb56acc82f9719d6aa1c1003ac7e34391da85a824
tree4b73ba86861e7ee1d80f37d15dc4a18ca80e06a2
parent7e0540f41332cb07055c5fe6629dc83c71974c82
phy: rcar-gen3-usb2: use enum phy_mode in the role_store()

This patch modifies the role_store() to use "enum phy_mode" instead
of the local "bool" for host/device mode selection.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/renesas/phy-rcar-gen3-usb2.c