Messages in this thread | | | Date | Thu, 10 Apr 2014 12:04:35 +0100 | From | One Thousand Gnomes <> | Subject | Re: [RFC PATCH 0/2] managed token devres interfaces |
| |
> >> - Construct string with (dev is struct em28xx *dev) > >> format: "tuner:%s-%s-%d" > >> with the following: > >> dev_name(&dev->udev->dev) > >> dev->udev->bus->bus_name > >> dev->tuner_addr
What guarantees this won't get confused by hot plugging and re-use of the bus slot ?
I'm also not sure I understand why you can't have a shared parent device and simply attach the resources to that. This sounds like a problem mfd already solved ?
Alan
| |