summaryrefslogtreecommitdiff
path: root/drivers/mfd/stw481x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/stw481x.c')
-rw-r--r--drivers/mfd/stw481x.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/mfd/stw481x.c b/drivers/mfd/stw481x.c
index 7478f03ccbae..5ed64d53c23d 100644
--- a/drivers/mfd/stw481x.c
+++ b/drivers/mfd/stw481x.c
@@ -173,8 +173,7 @@ static const struct regmap_config stw481x_regmap_config = {
.val_bits = 8,
};
-static int stw481x_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int stw481x_probe(struct i2c_client *client)
{
struct stw481x *stw481x;
int ret;
@@ -223,8 +222,8 @@ static int stw481x_probe(struct i2c_client *client,
* the structure of the I2C core.
*/
static const struct i2c_device_id stw481x_id[] = {
- { "stw481x", 0 },
- { },
+ { "stw481x" },
+ { }
};
MODULE_DEVICE_TABLE(i2c, stw481x_id);