diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2016-04-04 18:46:02 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-04-19 07:59:28 +0100 |
commit | 8a0aee4a7c8500278495012d8f4b653033df83a3 (patch) | |
tree | efa3d3a460aa9eb322f3cd67bf823d991ebb4c7f /drivers/mfd/Kconfig | |
parent | 630fd98c0a7fcba67d4b33440793b0c9bd1fb440 (diff) | |
download | linux-8a0aee4a7c8500278495012d8f4b653033df83a3.tar.bz2 |
mfd: max77686: Use module_i2c_driver() instead of subsys initcall
The driver's init and exit function don't do anything besides adding and
deleting the I2C driver so the module_i2c_driver() macro could be used.
Currently is not being used because the driver is initialized at subsys
initcall level, claiming that this is done to allow consumers devices to
use the resources provided by this driver. But dependencies are in DT so
manual ordering of init calls is not necessary any more.
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/Kconfig')
0 files changed, 0 insertions, 0 deletions