diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-04-29 04:09:19 -0400 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-05-21 19:02:22 -0400 |
commit | 567817de8574dba2e78b4fe849c1261c70a10245 (patch) | |
tree | 90a9c9102336bcd5eefa775e2f8292b2f3aea52b /drivers/hwmon/lm93.c | |
parent | 6d33d304e24ba42886583ed5228083162554305f (diff) |
hwmon: (lm93) remove unnecessary OOM messages
The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
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 */ |