]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/rtc/rtc-pcf8563.c
sched: cleanup: refactor common code of sleep_on / wait_for_completion
[linux-2.6-omap-h63xx.git] / drivers / rtc / rtc-pcf8563.c
index 038118bbfaea3f512c756414a68e5f27818a1d9c..0242d803ebe5b21d43c42d6954d601ed05372194 100644 (file)
@@ -279,7 +279,7 @@ static int pcf8563_probe(struct i2c_adapter *adapter, int address, int kind)
 
        int err = 0;
 
-       dev_dbg(adapter->class_dev.dev, "%s\n", __FUNCTION__);
+       dev_dbg(&adapter->dev, "%s\n", __FUNCTION__);
 
        if (!i2c_check_functionality(adapter, I2C_FUNC_I2C)) {
                err = -ENODEV;