summaryrefslogtreecommitdiffstats
path: root/drivers/w1
diff options
context:
space:
mode:
authorSerge Semin <Sergey.Semin@baikalelectronics.ru>2020-05-28 17:50:49 +0300
committerArnd Bergmann <arnd@arndb.de>2020-05-28 16:57:05 +0200
commit7f57416f2aebe6f8b6ad105b4ca58b347fb2dd2c (patch)
treed09717927356a597da526497317f91275a2e92f5 /drivers/w1
parentb7cb430d5f11b24c1c5809ab46a098ff299b975f (diff)
downloadlinux-7f57416f2aebe6f8b6ad105b4ca58b347fb2dd2c.tar.bz2
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/20200528145050.5203-5-Sergey.Semin@baikalelectronics.ru Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru> Cc: Alexey Malahov <Alexey.Malahov@baikalelectronics.ru> Cc: Olof Johansson <olof@lixom.net> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: soc@kernel.org Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions