]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
gpio: max77620: Change module_init to subsys_init call
authorPavan Kunapuli <pkunapuli@nvidia.com>
Tue, 22 Nov 2016 11:52:09 +0000 (17:22 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Wed, 30 Nov 2016 10:16:46 +0000 (02:16 -0800)
commit04d396b2ed40a2f39c1f6a747eb071b14946884b
treee8ab9a892e0d18299073e1eff30010e8cc9c5a47
parent895c36a8d99e1f5f5ebe4038d70e6bbcfc237b0c
gpio: max77620: Change module_init to subsys_init call

Changing max77620 gpio driver init from module_init to
subsys_initcall in order to ensure Max GPIOs are setup
and initialized before module_init calls of other modules
dependent on these GPIOs.

Bug 200247238

Change-Id: I63b0e08ddeab5b120c31e241a475bbda933c99f2
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/1258089
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/gpio/gpio-max77620.c