Re: [PATCH] usb: phy: am335x: fix randconfig errors

2013-12-20 Thread Felipe Balbi
On Fri, Dec 20, 2013 at 07:19:31PM -0200, Fabio Estevam wrote: > On Fri, Dec 20, 2013 at 7:05 PM, Felipe Balbi wrote: > > by using SET_SYSTEM_SLEEP_PM_OPS, we will make > > sure that we don't use undefined functions. > > > > Signed-off-by: Felipe Balbi > > You could optimize this a bit further:

Re: [PATCH] usb: phy: am335x: fix randconfig errors

2013-12-20 Thread Fabio Estevam
On Fri, Dec 20, 2013 at 7:05 PM, Felipe Balbi wrote: > by using SET_SYSTEM_SLEEP_PM_OPS, we will make > sure that we don't use undefined functions. > > Signed-off-by: Felipe Balbi You could optimize this a bit further: --- a/drivers/usb/phy/phy-am335x.c +++ b/drivers/usb/phy/phy-am335x.c @@ -12

[PATCH] usb: phy: am335x: fix randconfig errors

2013-12-20 Thread Felipe Balbi
by using SET_SYSTEM_SLEEP_PM_OPS, we will make sure that we don't use undefined functions. Signed-off-by: Felipe Balbi --- drivers/usb/phy/phy-am335x.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/usb/phy/phy-am335x.c b/drivers/usb/phy/phy-am335x.c inde