aboutsummaryrefslogtreecommitdiff
path: root/tas5825m-module/tas5825m.c
diff options
context:
space:
mode:
Diffstat (limited to 'tas5825m-module/tas5825m.c')
-rw-r--r--tas5825m-module/tas5825m.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tas5825m-module/tas5825m.c b/tas5825m-module/tas5825m.c
index 0494653..f2d6786 100644
--- a/tas5825m-module/tas5825m.c
+++ b/tas5825m-module/tas5825m.c
@@ -240,7 +240,7 @@ static const struct regmap_config tas5825m_regmap = {
.cache_type = REGCACHE_RBTREE,
};
-static int tas5825m_i2c_probe(struct i2c_client *i2c, const struct i2c_device_id *id)
+static int tas5825m_i2c_probe(struct i2c_client *i2c)
{
struct device *dev = &i2c->dev;
struct tas5825m_priv *tas5825m;
@@ -295,7 +295,7 @@ static void tas5825m_i2c_remove(struct i2c_client *client)
}
static const struct i2c_device_id tas5825m_i2c_ids[] = {
- { "tas5825m", 0 },
+ { "tas5825m" },
{ }
};
MODULE_DEVICE_TABLE(i2c, tas5825m_i2c_ids);