Some question in include\linux\I2c.h

mojian4linux mojian4linux at 163.com
Fri Apr 16 03:53:55 UTC 2010


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 at 163.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20100416/6693e1ea/attachment.html 


More information about the users mailing list