hwmon: (max1111) remove unnecessary OOM messages
PATCH 4/8 hwmon: (max1111) 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 <[email protected]>
--- drivers/hwmon/max1111.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/hwmon/max1111.c +1 -3
@@ -192,10 +192,8 @@ static int max1111_probe(struct spi_device *spi)return err; data =devm_kzalloc (&spi->dev,sizeof (struct max1111_data ),GFP_KERNEL ); -if (data =NULL ) { -dev_err (&spi->dev,"failed to allocate memory\n" ); +if (data =NULL )return -ENOMEM ; - }switch (chip) {case max1110:
Signature · 8 lines
1.7.10.4 _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors