I2C: convert i2c-dev to use struct device instead of struct class_device