Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761461Ab0HFOaq (ORCPT ); Fri, 6 Aug 2010 10:30:46 -0400 Received: from cantor2.suse.de ([195.135.220.15]:49380 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758021Ab0HFOam (ORCPT ); Fri, 6 Aug 2010 10:30:42 -0400 Date: Fri, 6 Aug 2010 07:27:27 -0700 From: Greg KH To: Grant Likely Cc: Patrick Pannuto , Patrick Pannuto , "linux-kernel@vger.kernel.org" , "linux-arm-msm@vger.kernel.org" , "linux-omap@vger.kernel.org" , "damm@opensource.se" , "lethal@linux-sh.org" , "rjw@sisk.pl" , "dtor@mail.ru" , "eric.y.miao@gmail.com" , "netdev@vger.kernel.org" , Kevin Hilman Subject: Re: [RFC PATCH] platform: Faciliatate the creation of pseduo-platform busses Message-ID: <20100806142727.GB4921@suse.de> References: <4C58A7AA.8020007@codeaurora.org> <20100803235631.GA17759@suse.de> <4C58AE15.6090900@codeaurora.org> <20100804000945.GA19729@suse.de> <4C58B1B6.9050005@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1132 Lines: 24 On Thu, Aug 05, 2010 at 04:59:35PM -0600, Grant Likely wrote: > (On that point Greg, what is the reason for even having the > /sys/devices/platform/ parent? Why not just let the platform devices > sit at the root of the device tree? In the OF case (granted, I'm > biased) all of the platform_device registrations reflect the actual > device hierarchy expressed in the device tree data.) If we sat them at the "root", there would be a bunch of them there. I don't know, we could drop the parent, I guess whoever created the platform device oh so long ago, decided that it would look nicer to be in this type of structure. > Now, having gone on this whole long tirade, it looks like having > separate platform bus types may not be the best approach after all. I totally agree, and thanks for the detailed explaination, it saved me from having to write up the same thing :) greg k-h -- 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/