]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hwmon: (aht10) add device tree ID matching
authorHao Yu <haoyufine@gmail.com>
Mon, 23 Feb 2026 17:38:53 +0000 (01:38 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 31 Mar 2026 02:45:04 +0000 (19:45 -0700)
commitf88aac547b628e28e75d0c8bed51c6773a34cc72
tree6db66f53137bf6d47b8276ff010e8d9d26bcba51
parent9c9f86da4a03e2072be8c28cb3346563dc117a3f
hwmon: (aht10) add device tree ID matching

Add of_device_id table to allow the driver to be matched via
Device Tree. This is required for supporting the AHT10/20/DHT20
sensors on platforms using DT.

Signed-off-by: Hao Yu <haoyufine@gmail.com>
Link: https://lore.kernel.org/r/20260223173853.30617-3-haoyufine@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/aht10.c