diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-04-29 17:09:19 +0900 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-05-21 16:02:22 -0700 |
commit | 567817de8574dba2e78b4fe849c1261c70a10245 (patch) | |
tree | 90a9c9102336bcd5eefa775e2f8292b2f3aea52b /drivers/hwmon/lm93.c | |
parent | 6d33d304e24ba42886583ed5228083162554305f (diff) | |
download | linux-567817de8574dba2e78b4fe849c1261c70a10245.tar.bz2 |
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, } data = devm_kzalloc(&client->dev, sizeof(struct lm93_data), GFP_KERNEL); - if (!data) { - dev_dbg(&client->dev, "out of memory!\n"); + if (!data) return -ENOMEM; - } i2c_set_clientdata(client, data); /* housekeeping */ |