]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite892aca6819d4b62373b3de58d5f7144cc79e1c8
treebdbad45ae752eb7a029be1f6f5f0ad282043e933
parent84c105a9dec4797df28a9fe360c289a6738689c8
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