All of lore.kernel.org
 help / color / mirror / Atom feed
* "status" property checks
@ 2010-01-07 23:07 ` Hollis Blanchard
  0 siblings, 0 replies; 12+ messages in thread
From: Hollis Blanchard @ 2010-01-07 23:07 UTC (permalink / raw)
  To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ
  Cc: linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ

Right now, a number of drivers honor the "status" property on device
nodes (via of_device_is_available() checks), but it's open-coded in each
driver. I'm thinking of "hiding" arbitrary devices from the kernel, and
setting this property seems like the best approach, but at the moment
that would require modifying all OF drivers to check for it.

Wouldn't the better approach be to have of_platform_device_probe()
itself do the check, and not call the driver's probe() routine if the
device isn't available?

-- 
Hollis Blanchard
Mentor Graphics, Embedded Systems Division

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-01-08 23:58 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-07 23:07 "status" property checks Hollis Blanchard
2010-01-07 23:07 ` Hollis Blanchard
2010-01-08  2:35 ` Hunter Cobbs
2010-01-08 18:34   ` Hollis Blanchard
2010-01-08 18:34     ` Hollis Blanchard
     [not found]     ` <1262975655.31871.67.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2010-01-08 19:28       ` Scott Wood
2010-01-08 19:28         ` Scott Wood
     [not found]         ` <4B478747.8070009-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2010-01-08 19:45           ` Hollis Blanchard
2010-01-08 19:45             ` Hollis Blanchard
2010-01-08 23:46             ` David Gibson
2010-01-08 23:58               ` Hollis Blanchard
2010-01-08 23:58                 ` Hollis Blanchard

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.