diff options
| author | Serge Semin <[email protected]> | 2020-05-28 14:50:49 +0000 |
|---|---|---|
| committer | Arnd Bergmann <[email protected]> | 2020-05-28 14:57:05 +0000 |
| commit | 7f57416f2aebe6f8b6ad105b4ca58b347fb2dd2c (patch) | |
| tree | d09717927356a597da526497317f91275a2e92f5 /arch/powerpc/lib/code-patching.c | |
| parent | bus: bt1-apb: Use sysfs_streq instead of strncmp (diff) | |
| download | kernel-7f57416f2aebe6f8b6ad105b4ca58b347fb2dd2c.tar.gz kernel-7f57416f2aebe6f8b6ad105b4ca58b347fb2dd2c.zip | |
bus: bt1-axi: Optimize the return points in the driver
It's better to have a single return statement where it's applicable
instead of returning from a conditional statement if-clause. Let's
do this in the request registers, clock and IRQ methods.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Serge Semin <[email protected]>
Cc: Alexey Malahov <[email protected]>
Cc: Olof Johansson <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Cc: [email protected]
Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
