On Fri, Nov 21, 2014 at 01:16:21PM +0000, Sunil Shahu wrote:
Hello,
I am looking into platform driver and devices and understood HOW platform driver's probe is called from kernel doc and following forum. http://comments.gmane.org/gmane.linux.kernel.kernelnewbies/37050
For further information I went through code in platform_driver_register() and got lost. I looked web but could not find substantiation information.
I am still not able to locate from WHERE this probe function is called and WHO calls it?
It all starts by your own driver, you end up calling it yourself, through the driver core callbacks.
Can someone please point to source code or some other document related to this?
Can you please provide a specific example of what you are wanting to see the callback chain for? What driver are you asking about? Have you read the platform code in drivers/base/ ? thanks, greg k-h