From: Mika Westerberg Date: Mon, 16 Apr 2012 08:48:41 +0000 (+0300) Subject: smb347-charger: Convert to regmap API X-Git-Tag: v3.5-rc1~23^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34298d40e5853bc195c9db012fc1ddccac9b6f7f;p=pandora-kernel.git 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 Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed