mfd: sec: Remove sec_reg* regmap helpers
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 17 Dec 2013 13:23:19 +0000 (14:23 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 18 Dec 2013 17:25:26 +0000 (17:25 +0000)
commitee5182b59f65e7975d8fec73d511f4d6c44f6ed3
tree69f3f60a75be6d2ae902c641f0711bf8deb8eb69
parentd1c8b1bd093cb57860fb6446e096e1c1cda92d4d
mfd: sec: Remove sec_reg* regmap helpers

Remove sec_reg* helpers as they are not used anymore. These helpers were
error-prone as they mixed u8 with unsigned int and they changed order of
some of parameters (val and mask in sec_reg_update()).

Also the helpers didn't give any way of useful abstraction as they just
called corresponding regmap function.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/mfd/sec-core.c
include/linux/mfd/samsung/core.h