Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1371118

Re: [RESEND PATCH] mfd: max77686: Use module_i2c_driver() instead of subsys initcall

From Andi Shyti <andi.shyti@samsung.com>
Newsgroups linux.kernel
Subject Re: [RESEND PATCH] mfd: max77686: Use module_i2c_driver() instead of subsys initcall
Date 2016-04-05 04:00 +0200
Message-ID <rkorF-3JL-29@gated-at.bofh.it> (permalink)
References <rkltM-1F6-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Javier,

> 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: Andi Shyti <andi.shyti@samsung.com>

Thanks,
Andi

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RESEND PATCH] mfd: max77686: Use module_i2c_driver() instead of subsys initcall Javier Martinez Canillas <javier@osg.samsung.com> - 2016-04-05 00:50 +0200
  Re: [RESEND PATCH] mfd: max77686: Use module_i2c_driver() instead of  subsys initcall Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-04-05 04:00 +0200
  Re: [RESEND PATCH] mfd: max77686: Use module_i2c_driver() instead of  subsys initcall Andi Shyti <andi.shyti@samsung.com> - 2016-04-05 04:00 +0200
  Re: [RESEND PATCH] mfd: max77686: Use module_i2c_driver() instead of  subsys initcall Lee Jones <lee.jones@linaro.org> - 2016-04-11 14:00 +0200

csiph-web