diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2012-04-16 08:48:41 (GMT) |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-05-05 12:48:17 (GMT) |
commit | 34298d40e5853bc195c9db012fc1ddccac9b6f7f (patch) | |
tree | 8a5a51a1f89117815b513057b1a5fad4d380cd3f /drivers/spi/spi-sh.c | |
parent | d72bade76d11da661d76aec5801567d573f39fea (diff) | |
download | linux-34298d40e5853bc195c9db012fc1ddccac9b6f7f.tar.xz |
smb347-charger: Convert to regmap API
The smb347-charger driver does a lot of read-modify-write to the device
registers. Instead of open-coding everything we can take advantage of
regmap API which provides nice functions to do this kind of things.
In addition there is no need for custom debugfs file for dumping
registers as this is already provided by the regmap API.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'drivers/spi/spi-sh.c')
0 files changed, 0 insertions, 0 deletions