]> git.baikalelectronics.ru Git - kernel.git/commit
usb: phy: mxs: declare variable with initialized value
authorLi Jun <jun.li@nxp.com>
Thu, 21 Jan 2016 07:51:26 +0000 (15:51 +0800)
committerFelipe Balbi <balbi@kernel.org>
Wed, 3 Feb 2016 17:57:41 +0000 (19:57 +0200)
commit4ce013f0c40182bf2105c6dbd2ad7a46e97639e6
tree121a3151b222c82a315afce69c0b4834a1dafce3
parentc15710cb686e29f5333127343cae8afa397f1640
usb: phy: mxs: declare variable with initialized value

Initialize vbus_value to be 0 since it's possible not to assign
any value before judgement.

Acked-by: Peter Chen <peter.chen@nxp.com
Signed-off-by: Li Jun <jun.li@nxp.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/phy/phy-mxs-usb.c