All of lore.kernel.org
 help / color / mirror / Atom feed
* Use of devicetree overlay properties
@ 2015-07-29 10:14 Michal Suchanek
  0 siblings, 0 replies; only message in thread
From: Michal Suchanek @ 2015-07-29 10:14 UTC (permalink / raw)
  To: devicetree

Hello,

it seems that const pointers to devicetree property content are often
used throughout kernel code.

Saving pointers into static devicetree should be fine but saving
pointers into an overlay that can be destroyed is somewhat
problematic.

Typically the property would be used by a driver that would unbind
when the overlay is destroyed. Is this guaranteed in any way, though?

Thanks

Michal
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-29 10:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-29 10:14 Use of devicetree overlay properties Michal Suchanek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.