diff options
| author | Flaviu Nistor <flaviu.nistor@gmail.com> | 2026-05-10 12:25:43 +0300 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-06-09 08:22:59 -0700 |
| commit | 624fce2eec59ab28fd05c235ee26d3cbf1cbef60 (patch) | |
| tree | 69cc84747c9cbb963f139313e923d24e70aa58cd /scripts/stackusage | |
| parent | e28d0c73d4d7adc9cd3747d81fdc7338217f9a0c (diff) | |
hwmon: (tmp102) Use device_property_read_string API
Replace of_property_read_string() with the preferded
device_property_read_string() in the probe function to
read the device label property, improving the driver
compatibility since this method is not limited to
Device Tree only.
Also drop the now unnecessary __maybe_unused from tmp102_of_match.
Signed-off-by: Flaviu Nistor <flaviu.nistor@gmail.com>
Link: https://lore.kernel.org/r/20260510092543.12352-1-flaviu.nistor@gmail.com
Link: https://lore.kernel.org/r/20260518122210.10288-1-flaviu.nistor@gmail.com
[groeck: Combined API change with __maybe_unused patch]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
