diff options
Diffstat (limited to 'drivers/hwmon/tmp421.c')
-rw-r--r-- | drivers/hwmon/tmp421.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/hwmon/tmp421.c b/drivers/hwmon/tmp421.c index 6a8ded29f1ed..964c1d688274 100644 --- a/drivers/hwmon/tmp421.c +++ b/drivers/hwmon/tmp421.c | |||
@@ -208,8 +208,8 @@ static int tmp421_init_client(struct i2c_client *client) | |||
208 | /* Start conversions (disable shutdown if necessary) */ | 208 | /* Start conversions (disable shutdown if necessary) */ |
209 | config = i2c_smbus_read_byte_data(client, TMP421_CONFIG_REG_1); | 209 | config = i2c_smbus_read_byte_data(client, TMP421_CONFIG_REG_1); |
210 | if (config < 0) { | 210 | if (config < 0) { |
211 | dev_err(&client->dev, "Could not read configuration" | 211 | dev_err(&client->dev, |
212 | " register (%d)\n", config); | 212 | "Could not read configuration register (%d)\n", config); |
213 | return -ENODEV; | 213 | return -ENODEV; |
214 | } | 214 | } |
215 | 215 | ||
@@ -322,6 +322,5 @@ static struct i2c_driver tmp421_driver = { | |||
322 | module_i2c_driver(tmp421_driver); | 322 | module_i2c_driver(tmp421_driver); |
323 | 323 | ||
324 | MODULE_AUTHOR("Andre Prendel <andre.prendel@gmx.de>"); | 324 | MODULE_AUTHOR("Andre Prendel <andre.prendel@gmx.de>"); |
325 | MODULE_DESCRIPTION("Texas Instruments TMP421/422/423 temperature sensor" | 325 | MODULE_DESCRIPTION("Texas Instruments TMP421/422/423 temperature sensor driver"); |
326 | " driver"); | ||
327 | MODULE_LICENSE("GPL"); | 326 | MODULE_LICENSE("GPL"); |