You only register the driver once. The individual devices can be bound
to the same driver, right?
quoted
Not registering it in CPM_UART, how the pdev could be obtained?
Maybe this is clear, but platform stuff is cumbersome some times...
Then make it cleaner :)
This is where the confusion is. We have two instances of device A. We
want instance 1 of device A bound to driver "enet" and instance 2 of
device A bound to "serial".
Today both instances are called "deviceA". However we can't register two
different drivers as "deviceA".
Not sure if that clarifies the issue any.
- kumar