]> 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)
commita2c54fc07ec882a52c6241ba6b4a10558510cf2b
treebdbad45ae752eb7a029be1f6f5f0ad282043e933
parent5699749367d14e05ddac71f73cd559d6a043544a
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