title: From where platform device gets it name
body: <p>I am reading about the Linux Device model which is built around buses,devices and drivers
  .I am able to understand a bit about how devices and driver matches happen but not clear about the role of buses here,how buses matches with device.</p>
  
  <p>One more doubt I have regarding where platform device gets it name from.</p>
  
  <p>"The platform bus,simply compares the name of each device against the name of each driver; if they are the same, the device matches the driver."</p>
  
  <p>Now I could n't really understand above point .I believe device name is first defined in dts file and then corresponding Driver name is defined in platform driver code .</p>
  
  <p>if these two name matches ,probe is called from driver code which will confirm device is really in existence.</p>
  
  <p>Could anybody let me know the whole process specially from Bus point of view.</p>