diff options
author | Marek Belisko <marek@goldelico.com> | 2013-11-30 16:26:00 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-04 20:23:51 -0800 |
commit | c07f85c5d7d490653967ded4b78230372f67970d (patch) | |
tree | ed0952a71d0f6c01336830d38aac6ca01f81ee1a /drivers/misc/bmp085.h | |
parent | 612340b155290ac02a047bbb073a31ae4cfffdd8 (diff) |
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.h')
-rw-r--r-- | drivers/misc/bmp085.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/bmp085.h b/drivers/misc/bmp085.h index 2b8f615bca92..8b8e3b1f5ca5 100644 --- a/drivers/misc/bmp085.h +++ b/drivers/misc/bmp085.h @@ -26,7 +26,7 @@ extern struct regmap_config bmp085_regmap_config; -int bmp085_probe(struct device *dev, struct regmap *regmap); +int bmp085_probe(struct device *dev, struct regmap *regmap, int irq); int bmp085_remove(struct device *dev); int bmp085_detect(struct device *dev); |