diff options
| author | Krzysztof Kozlowski <[email protected]> | 2023-03-12 19:37:23 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2023-03-12 21:14:16 +0000 |
| commit | 00d85e81796b17a29a0e096c5a4735daa47adef8 (patch) | |
| tree | 30ff4b1bbd8ad0c6d1c859a685f70fadc7014d60 /fs/proc/array.c | |
| parent | hwmon: (ucd90320) Add minimum delay between bus accesses (diff) | |
| download | kernel-00d85e81796b17a29a0e096c5a4735daa47adef8.tar.gz kernel-00d85e81796b17a29a0e096c5a4735daa47adef8.zip | |
hwmon: tmp512: drop of_match_ptr for ID table
The driver will match mostly by DT table (even thought there is regular
ID table) so there is little benefit in of_match_ptr (this also allows
ACPI matching via PRP0001, even though it might not be relevant here).
This also fixes !CONFIG_OF error:
drivers/hwmon/tmp513.c:610:34: error: ‘tmp51x_of_match’ defined but not used [-Werror=unused-const-variable=]
Fixes: 59dfa75e5d82 ("hwmon: Add driver for Texas Instruments TMP512/513 sensor chips.")
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
