diff options
Diffstat (limited to 'drivers/hwmon/da9055-hwmon.c')
| -rw-r--r-- | drivers/hwmon/da9055-hwmon.c | 6 | 
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/hwmon/da9055-hwmon.c b/drivers/hwmon/da9055-hwmon.c index 029ecabc438..35eb7738d71 100644 --- a/drivers/hwmon/da9055-hwmon.c +++ b/drivers/hwmon/da9055-hwmon.c @@ -204,7 +204,7 @@ static ssize_t da9055_hwmon_show_name(struct device *dev,  				      struct device_attribute *devattr,  				      char *buf)  { -	return sprintf(buf, "da9055-hwmon\n"); +	return sprintf(buf, "da9055\n");  }  static ssize_t show_label(struct device *dev, @@ -278,10 +278,6 @@ static int da9055_hwmon_probe(struct platform_device *pdev)  	if (hwmon_irq < 0)  		return hwmon_irq; -	hwmon_irq = regmap_irq_get_virq(hwmon->da9055->irq_data, hwmon_irq); -	if (hwmon_irq < 0) -		return hwmon_irq; -  	ret = devm_request_threaded_irq(&pdev->dev, hwmon_irq,  					NULL, da9055_auxadc_irq,  					IRQF_TRIGGER_HIGH | IRQF_ONESHOT,  | 
