Some question in include\linux\I2c.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx




-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux