summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/adt7310.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/adt7310.c')
-rw-r--r--drivers/hwmon/adt7310.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/adt7310.c b/drivers/hwmon/adt7310.c
index f8ea6292bc74..b70a481bca17 100644
--- a/drivers/hwmon/adt7310.c
+++ b/drivers/hwmon/adt7310.c
@@ -90,13 +90,13 @@ static const struct adt7x10_ops adt7310_spi_ops = {
static int adt7310_spi_probe(struct spi_device *spi)
{
- return adt7x10_probe(&spi->dev, spi_get_device_id(spi)->name,
+ return adt7x10_probe(&spi->dev, spi_get_device_id(spi)->name, spi->irq,
&adt7310_spi_ops);
}
static int adt7310_spi_remove(struct spi_device *spi)
{
- return adt7x10_remove(&spi->dev);
+ return adt7x10_remove(&spi->dev, spi->irq);
}
static const struct spi_device_id adt7310_id[] = {