diff options
| author | Camel Guo <[email protected]> | 2022-05-03 11:43:33 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2022-05-03 13:44:25 +0000 |
| commit | 3481551f035725fdc46885425eac3ef9b58ae7b7 (patch) | |
| tree | 993e3fb0665e4801cf1322fe15e8eb697406096b /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | hwmon: (pmbus) delta-ahe50dc-fan: work around hardware quirk (diff) | |
| download | kernel-3481551f035725fdc46885425eac3ef9b58ae7b7.tar.gz kernel-3481551f035725fdc46885425eac3ef9b58ae7b7.zip | |
hwmon: (tmp401) Add OF device ID table
This driver doesn't have of_match_table. This makes the kernel module
tmp401.ko lack alias patterns (e.g: of:N*T*Cti,tmp411) to match DT node
of the supported devices hence this kernel module will not be
automatically loaded.
After adding of_match_table to this driver, the folllowing alias will be
added into tmp401.ko.
$ modinfo drivers/hwmon/tmp401.ko
filename: drivers/hwmon/tmp401.ko
......
author: Hans de Goede <[email protected]>
alias: of:N*T*Cti,tmp435C*
alias: of:N*T*Cti,tmp435
alias: of:N*T*Cti,tmp432C*
alias: of:N*T*Cti,tmp432
alias: of:N*T*Cti,tmp431C*
alias: of:N*T*Cti,tmp431
alias: of:N*T*Cti,tmp411C*
alias: of:N*T*Cti,tmp411
alias: of:N*T*Cti,tmp401C*
alias: of:N*T*Cti,tmp401
......
Fixes: af503716ac14 ("i2c: core: report OF style module alias for devices registered via OF")
Signed-off-by: Camel Guo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
