staging: phy-hi3670-usb3: do a some minor cleanups
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 24 Jun 2021 14:01:30 +0000 (16:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jun 2021 14:25:56 +0000 (16:25 +0200)
commit83fb097ba87adbc4bf1550ef6bee450764f34e1b
treef26a37b62f1c2a2b5ead3c314521a8f251fe7151
parent0c5a11c0ca25621a44d83ae17c2ca6422d7bbbab
staging: phy-hi3670-usb3: do a some minor cleanups

Before moving this driver out of staging:

1. group some integers altogether;

2. Use:

return some_function()

instead of:

ret = some_function();
return ret;

This is just a cleanup. No functional changes.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/55db419e42fd3af72494acbe0ea0f0d1de8906ac.1624542940.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/hikey9xx/phy-hi3670-usb3.c