aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/chips/ds1337.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/chips/ds1337.c')
-rw-r--r--drivers/i2c/chips/ds1337.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/chips/ds1337.c b/drivers/i2c/chips/ds1337.c
index 8ab4e2348cda..c612f19fc7e6 100644
--- a/drivers/i2c/chips/ds1337.c
+++ b/drivers/i2c/chips/ds1337.c
@@ -226,7 +226,7 @@ int ds1337_do_command(int bus, int cmd, void *arg)
226 226
227static int ds1337_attach_adapter(struct i2c_adapter *adapter) 227static int ds1337_attach_adapter(struct i2c_adapter *adapter)
228{ 228{
229 return i2c_detect(adapter, &addr_data, ds1337_detect); 229 return i2c_probe(adapter, &addr_data, ds1337_detect);
230} 230}
231 231
232/* 232/*