Hi all. when i read the include\linux\I2c.h, i have a question between ------------------------------------------ /* include\linux\I2c.h */ ... /* Standard driver model interfaces */ int (*probe)(struct i2c_client *, const struct i2c_device_id *); int (*remove)(struct i2c_client *);
/* driver model interfaces that don't relate to enumeration */ void (*shutdown)(struct i2c_client *); int (*suspend)(struct i2c_client *, pm_message_t mesg); int (*resume)(struct i2c_client *); ... ---------------------------------- Q: 1. /* driver model interfaces that don't relate to enumeration */------>what does this sentence mean? 2. what the different between int (*resume)(struct i2c_client *) and int (*remove)(struct i2c_client *) ?
--------------------------------------------- --------------------------------------------- Best regards,
mojian
E-mail:mojian4linux@163.com