]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc41ed6652a6d763bee779476cc9c4ef8382b31a3
tree69f3f60a75be6d2ae902c641f0711bf8deb8eb69
parentf45d4d2767ff3bbba02ec02a8ef5e9f01a4788f1
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