diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2016-01-25 15:37:15 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-01-27 16:29:07 +0100 |
commit | 288a89bf436fa3682742d41b2bc1b243ff2ded85 (patch) | |
tree | 7ba25f317cda7091bb5f0dafbc55ef14ee810c4e /fs/nilfs2/page.c | |
parent | Linux 4.5-rc1 (diff) | |
download | linux-288a89bf436fa3682742d41b2bc1b243ff2ded85.tar.xz linux-288a89bf436fa3682742d41b2bc1b243ff2ded85.zip |
regulator: mt6397: Add platform device ID table
The platform bus_type .match callback attempts to match the platform device
name with an entry on the .id_table if provided and fallbacks to match with
the driver's name if a table is not provided.
Using a platform device ID to match is more explicit, allows the driver to
support more than one device and also the MODULE_DEVICE_TABLE macro can be
used to export the module aliases information instead of the MODULE_ALIAS.
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions