]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: max77686: Export OF module alias information
authorJavier Martinez Canillas <javier@osg.samsung.com>
Fri, 12 Feb 2016 04:30:19 +0000 (01:30 -0300)
committerLee Jones <lee.jones@linaro.org>
Wed, 16 Mar 2016 08:50:39 +0000 (08:50 +0000)
commitd63cd90d28f5811102376a70a9e41d57533046a6
treeca06c73feb8f766afdf7549defb77ce14a545ed4
parent815cafd2b39482a2b946d45a27bcc744dd9632d7
mfd: max77686: Export OF module alias information

When the device is registered via OF, the OF table is used to match the
driver instead of the I2C device ID table but the entries in the latter
are used as aliasses to load the module if the driver was not built-in.

This is because the I2C core always reports an I2C module alias instead
of an OF one but that could change so it is better to always export it.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/max77686.c