summaryrefslogtreecommitdiff
path: root/drivers/hwmon/k8temp.c
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2017-12-22 23:18:35 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2018-01-05 10:43:02 +0300
commitb0a191cebea13c38f3a427180721f92d8e259b81 (patch)
treeb0e90447c757b6b92cf86c8dd953157b8fe05685 /drivers/hwmon/k8temp.c
parent6cd225cc5d8a6526b2bea41955882be55d4f109e (diff)
downloadlinux-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/k8temp.c')
0 files changed, 0 insertions, 0 deletions