Hi all.<br> when i read the include\linux\I2c.h, i have a question between <br>
------------------------------------------<br>
/* include\linux\I2c.h */<br>
...<br>
/* Standard driver model interfaces */<br>
int (*probe)(struct i2c_client *, const struct i2c_device_id *);<br>
int (*remove)(struct i2c_client *);<br>
<br>
/* driver model interfaces that don't relate to enumeration */<br>
void (*shutdown)(struct i2c_client *);<br>
int (*suspend)(struct i2c_client *, pm_message_t mesg);<br>
int (*resume)(struct i2c_client *);<br>
...<u><br>
</u>----------------------------------<u><br>Q:<br>
</u>1. /* driver model interfaces that don't relate to enumeration
*/------>what does this <font color="#000000"><u><a class="ref" title="²éÕÒ: sentence" href="dict://key.60705A9F3503084A844B4ABE47E5D62A/sentence">sentence</a></u></font>
mean£¿<br>
2. what the different between <br>
int (*resume)(struct i2c_client *) <br>and <br>int (*remove)(struct i2c_client
*)<br>?<br>
<br>
<br>
<br>
---------------------------------------------<br>
---------------------------------------------<br>
Best regards,
<div><font> </font></div>
<div><font>mojian<br><br>E-mail:mojian4linux@163.com<br></font></div>
<br>
<br><br><br><span title="neteasefooter"/></span>