usb: phy: msm: cast to enum msm_usb_phy_type
authorFelipe Balbi <balbi@ti.com>
Wed, 30 Apr 2014 16:33:04 +0000 (11:33 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 May 2014 17:34:23 +0000 (12:34 -0500)
commitb3025e6ada454848b6ae2d3bcd925738384517df
tree6e00921d496ef7b0532ab2d2de2f027c3c16cd49
parente695abb3c8b1b758843a1db2a73c98b3d14c173a
usb: phy: msm: cast to enum msm_usb_phy_type

this solves the following build warning found when
running compile tests.

drivers/usb/phy/phy-msm-usb.c: In function ‘msm_otg_read_dt’:
drivers/usb/phy/phy-msm-usb.c:1459:20: warning: cast from pointer \
to integer of different size [-Wpointer-to-int-cast]
  pdata->phy_type = (int) id->data;
                    ^
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-msm-usb.c