mirror of https://gitee.com/openkylin/linux.git
usb: phy: omap-usb3: Fix return value
The function returns a pointer. Hence return NULL instead of 0. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
e1f804676a
commit
1b97be8ce4
|
@ -79,7 +79,7 @@ static struct usb_dpll_params *omap_usb3_get_dpll_params(unsigned long rate)
|
|||
return &dpll_map[i].params;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static int omap_usb3_suspend(struct usb_phy *x, int suspend)
|
||||
|
|
Loading…
Reference in New Issue