diff options
author | Christian Lamparter <chunkeey@gmail.com> | 2017-12-22 23:18:35 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-01-05 10:43:02 +0300 |
commit | b0a191cebea13c38f3a427180721f92d8e259b81 (patch) | |
tree | b0e90447c757b6b92cf86c8dd953157b8fe05685 /drivers/hwmon/da9055-hwmon.c | |
parent | 6cd225cc5d8a6526b2bea41955882be55d4f109e (diff) | |
download | linux-b0a191cebea13c38f3a427180721f92d8e259b81.tar.xz |
crypto: crypto4xx - shuffle iomap in front of request_irq
It is possible to avoid the ce_base null pointer check in the
drivers' interrupt handler routine "crypto4xx_ce_interrupt_handler()"
by simply doing the iomap in front of the IRQ registration.
This way, the ce_base will always be valid in the handler and
a branch in an critical path can be avoided.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/hwmon/da9055-hwmon.c')
0 files changed, 0 insertions, 0 deletions