diff options
Diffstat (limited to 'drivers/hwmon/lm93.c')
-rw-r--r-- | drivers/hwmon/lm93.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/hwmon/lm93.c b/drivers/hwmon/lm93.c index adf23165a6a7..6c2df576f253 100644 --- a/drivers/hwmon/lm93.c +++ b/drivers/hwmon/lm93.c | |||
@@ -2747,10 +2747,8 @@ static int lm93_probe(struct i2c_client *client, | |||
2747 | } | 2747 | } |
2748 | 2748 | ||
2749 | data = devm_kzalloc(&client->dev, sizeof(struct lm93_data), GFP_KERNEL); | 2749 | data = devm_kzalloc(&client->dev, sizeof(struct lm93_data), GFP_KERNEL); |
2750 | if (!data) { | 2750 | if (!data) |
2751 | dev_dbg(&client->dev, "out of memory!\n"); | ||
2752 | return -ENOMEM; | 2751 | return -ENOMEM; |
2753 | } | ||
2754 | i2c_set_clientdata(client, data); | 2752 | i2c_set_clientdata(client, data); |
2755 | 2753 | ||
2756 | /* housekeeping */ | 2754 | /* housekeeping */ |