summaryrefslogtreecommitdiffstats
path: root/drivers/misc/bmp085-spi.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-02-14 17:13:19 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-02-14 17:13:19 +0100
commitf2e5d078f7f02d4289db31f5f63e23e39914075e (patch)
treec739a3e70846284ae2ce3d98cecc2be1ffebe2e2 /drivers/misc/bmp085-spi.c
parentregulator: core: Optimize _regulator_do_set_voltage if voltage does not change (diff)
parentLinux 3.8-rc7 (diff)
downloadlinux-f2e5d078f7f02d4289db31f5f63e23e39914075e.tar.xz
linux-f2e5d078f7f02d4289db31f5f63e23e39914075e.zip
Merge tag 'v3.8-rc7' into regulator-core
Linux 3.8-rc7
Diffstat (limited to 'drivers/misc/bmp085-spi.c')
-rw-r--r--drivers/misc/bmp085-spi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/bmp085-spi.c b/drivers/misc/bmp085-spi.c
index 5e982af99730..d6a52659cf24 100644
--- a/drivers/misc/bmp085-spi.c
+++ b/drivers/misc/bmp085-spi.c
@@ -22,7 +22,7 @@
#include <linux/err.h>
#include "bmp085.h"
-static int __devinit bmp085_spi_probe(struct spi_device *client)
+static int bmp085_spi_probe(struct spi_device *client)
{
int err;
struct regmap *regmap;
@@ -70,7 +70,7 @@ static struct spi_driver bmp085_spi_driver = {
},
.id_table = bmp085_id,
.probe = bmp085_spi_probe,
- .remove = __devexit_p(bmp085_spi_remove)
+ .remove = bmp085_spi_remove
};
module_spi_driver(bmp085_spi_driver);