Skip to content

Commit

Permalink
usb: phy: omap-usb3: Fix return value
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin Kamat authored and Felipe Balbi committed Sep 17, 2013
1 parent e1f8046 commit 1b97be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/phy/phy-omap-usb3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1b97be8

Please sign in to comment.