diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2016-02-10 13:50:18 -0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-03-16 08:50:32 +0000 |
commit | e1d9a10918396ae26dd5181d454c793ff17c9ded (patch) | |
tree | b2e722fdc0b4a3ae1b4df7111be5b271c22a7d9d /drivers/gpio | |
parent | 0e5df61d26f2ad609eb5a699b9ab587564ccd65f (diff) |
mfd: 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: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions