diff options
author | Javier Martinez Canillas <javierm@redhat.com> | 2018-05-01 21:44:53 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2018-05-02 01:51:15 +0300 |
commit | f6eeb9e548572c0e64632672dbd04363cbdd4eed (patch) | |
tree | 44aa316a320a29c0c7fa76119b9400607171f9df /drivers/nvmem/bcm-ocotp.c | |
parent | 068bdb67ef74df0ad1627b7247a163e3e252ac11 (diff) | |
download | linux-f6eeb9e548572c0e64632672dbd04363cbdd4eed.tar.xz |
Input: atmel_mxt_ts - add missing compatible strings to OF device table
Commit af503716ac14 ("i2c: core: report OF style module alias for devices
registered via OF") fixed how the I2C core reports the module alias when
devices are registered via OF.
But the atmel_mxt_ts driver only has an "atmel,maxtouch" compatible in its
OF device ID table, so if a Device Tree is using a different one, autoload
won't be working for the module (the matching works because the I2C device
ID table is used as a fallback).
So add compatible strings for each of the entries in the I2C device table.
Fixes: af503716ac14 ("i2c: core: report OF style module alias for devices registered via OF")
Reported-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Tested-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Rob Herring <robh@kernel.org>
[dtor: document which compatibles are deprecated and should not be used]
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/nvmem/bcm-ocotp.c')
0 files changed, 0 insertions, 0 deletions