]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (sht15) remove multiple driver registration
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Fri, 31 Aug 2012 01:46:19 +0000 (21:46 -0400)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 12 Sep 2012 13:43:00 +0000 (06:43 -0700)
commit46d7610a234c9b446566c6045f0b033fdb2798ad
tree1bb1724b60e35f122efe3359f2f411b8a7d3d22d
parent30cdd72bbccf32be2bb48a5f947f341cce11a0b0
hwmon: (sht15) remove multiple driver registration

Declare an array of platform_device_id, instead of registering a driver
for each supported chip. This makes the code cleaner.
Also add a module description.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/sht15.c