Skip to content
Commit 396c84bb authored by Joel Stanley's avatar Joel Stanley Committed by Corey Minyard
Browse files

ipmi: bt-bmc: Use registers directly



This driver was originally written to use the regmap abstraction with no
clear benefit. As the registers are always mmio and there is no sharing
of the region with other devices, we can safely read and write without
the locking that regmap provides.

This reduces the code size of the driver by about 25%.

Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
Message-Id: <20210903051039.307991-1-joel@jms.id.au>
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent 39ce7350
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment