diff options
author | Marek Belisko <marek@goldelico.com> | 2013-11-30 16:26:00 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-05 05:23:51 +0100 |
commit | c07f85c5d7d490653967ded4b78230372f67970d (patch) | |
tree | ed0952a71d0f6c01336830d38aac6ca01f81ee1a /drivers/misc/bmp085-spi.c | |
parent | misc: eeprom_93xx46: remove unnecessary spi_set_drvdata() (diff) | |
download | linux-c07f85c5d7d490653967ded4b78230372f67970d.tar.xz linux-c07f85c5d7d490653967ded4b78230372f67970d.zip |
misc: bmp085: Clean up and enable use of interrupt for completion.
- pass IRQ to driver and have it initialize
- finish waiting early if interrupt fires
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Marek Belisko <marek@goldelico.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/bmp085-spi.c')
-rw-r--r-- | drivers/misc/bmp085-spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/bmp085-spi.c b/drivers/misc/bmp085-spi.c index d6a52659cf24..864ecac32373 100644 --- a/drivers/misc/bmp085-spi.c +++ b/drivers/misc/bmp085-spi.c @@ -41,7 +41,7 @@ static int bmp085_spi_probe(struct spi_device *client) return err; } - return bmp085_probe(&client->dev, regmap); + return bmp085_probe(&client->dev, regmap, client->irq); } static int bmp085_spi_remove(struct spi_device *client) |