projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i2c: Make remove callback return void
[linux-2.6-block.git]
/
drivers
/
gpio
/
gpio-max7300.c
diff --git
a/drivers/gpio/gpio-max7300.c
b/drivers/gpio/gpio-max7300.c
index b2b547dd6e84648487997eef93d8d4feb4df06b5..43da381a4d7e7ed322a25fdc5304b9014d0345ef 100644
(file)
--- a/
drivers/gpio/gpio-max7300.c
+++ b/
drivers/gpio/gpio-max7300.c
@@
-48,11
+48,9
@@
static int max7300_probe(struct i2c_client *client,
return __max730x_probe(ts);
}
-static
int
max7300_remove(struct i2c_client *client)
+static
void
max7300_remove(struct i2c_client *client)
{
__max730x_remove(&client->dev);
-
- return 0;
}
static const struct i2c_device_id max7300_id[] = {