Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1256842
| From | "Rafael J. Wysocki" <rjw@rjwysocki.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v6 03/22] of/platform: Point to struct device from device node |
| Date | 2015-10-27 16:20 +0100 |
| Message-ID | <qoecy-6N1-11@gated-at.bofh.it> (permalink) |
| References | <qb9X3-rF-9@gated-at.bofh.it> <qn73s-1xj-23@gated-at.bofh.it> <qodTe-6r2-67@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tuesday, October 27, 2015 03:48:40 PM Tomeu Vizoso wrote: > On 24 October 2015 at 15:57, Rafael J. Wysocki <rjw@rjwysocki.net> wrote: [...] > > > > Well, once that has happened, your new device pointer in the given device_node > > becomes useless. Why exactly is that fine? > > Why do you think it's useless? It's the device that was registered > from that device_node. The other one just happens to want to point to > the same device_node for whatever other reason, but I don't see how is > that relevant. It is useless as a reverse mapping from OF nodes to devices. It tells us which device pointing to the given device node has been found first, but that's just it. You can't say whether or not it is special in any way with respect to the other devices hanging out of the same OF node unless you have some additional information on how those devices are related to each other. Thanks, Rafael -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v6 03/22] of/platform: Point to struct device from device node "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-10-22 02:40 +0200
Re: [PATCH v6 03/22] of/platform: Point to struct device from device node Tomeu Vizoso <tomeu.vizoso@collabora.com> - 2015-10-22 15:10 +0200
Re: [PATCH v6 03/22] of/platform: Point to struct device from device node "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-10-24 15:30 +0200
Re: [PATCH v6 03/22] of/platform: Point to struct device from device node Tomeu Vizoso <tomeu.vizoso@collabora.com> - 2015-10-27 16:00 +0100
Re: [PATCH v6 03/22] of/platform: Point to struct device from device node "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-10-27 16:20 +0100
Re: [PATCH v6 03/22] of/platform: Point to struct device from device node Rob Herring <robh+dt@kernel.org> - 2015-10-27 22:30 +0100
csiph-web