Re: [PATCH 13/22] USB: chipidea: no need to check return value of debugfs_create functions

2018-05-31 Thread Greg Kroah-Hartman
On Wed, May 30, 2018 at 01:58:18AM +, Peter Chen wrote: > > > > > When calling debugfs functions, there is no need to ever check the return > > value. The > > function can work or not, but the code logic should never do something > > different > > based on this. > > > > Cc: Peter Chen

RE: [PATCH 13/22] USB: chipidea: no need to check return value of debugfs_create functions

2018-05-29 Thread Peter Chen
> > When calling debugfs functions, there is no need to ever check the return > value. The > function can work or not, but the code logic should never do something > different > based on this. > > Cc: Peter Chen > Signed-off-by: Greg Kroah-Hartman Tested on imx6sx-sdb board. Acked-by:

[PATCH 13/22] USB: chipidea: no need to check return value of debugfs_create functions

2018-05-29 Thread Greg Kroah-Hartman
When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Cc: Peter Chen Signed-off-by: Greg Kroah-Hartman --- drivers/usb/chipidea/ci.h| 2 +-