]> 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>
Sat, 15 Sep 2012 14:57:30 +0000 (07:57 -0700)
commitc8bff8eabfe7657d665ff0fd177f29ede36e0b6f
treea3cbf7f2418da7b132ab077480567c216ee547ed
parent82c65b6faf269b2c24608c8d94252dd9d1db2344
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