]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/hwmon/sht15.c
hwmon: (sht15) Add device tree support
authorMarco Franchi <marco.franchi@nxp.com>
Thu, 16 Feb 2017 12:23:43 +0000 (10:23 -0200)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 16 Feb 2017 14:49:05 +0000 (06:49 -0800)
commit2f1736ff0664937636f8c0a4994c4a5a23da2090
treebdbad45ae752eb7a029be1f6f5f0ad282043e933
parent87d08b11b1616cbc70c28c9d3601bd1a3642bae5
hwmon: (sht15) Add device tree support

Allow the driver to work with device tree support.

Based on initial patch submission from Peter Fox.

Tested on a imx7d-sdb board connected to a SHT15 board via Mikro Bus.

Signed-off-by: Marco Franchi <marco.franchi@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/hwmon/sht15.txt [new file with mode: 0644]
drivers/hwmon/sht15.c