From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Kroah-Hartman Subject: Re: [PATCH v6 1/4] of: overlay: kobjectify overlay objects Date: Tue, 20 Oct 2015 14:03:49 -0700 Message-ID: <20151020210349.GA28724@kroah.com> References: <1445368397-8732-1-git-send-email-pantelis.antoniou@konsulko.com> <1445368397-8732-2-git-send-email-pantelis.antoniou@konsulko.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1445368397-8732-2-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Pantelis Antoniou Cc: Rob Herring , Frank Rowand , Matt Porter , Koen Kooi , Guenter Roeck , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Pantelis Antoniou List-Id: linux-api@vger.kernel.org On Tue, Oct 20, 2015 at 10:13:14PM +0300, Pantelis Antoniou wrote: > We are going to need the overlays to appear on sysfs with runtime > global properties (like master enable) so turn them into kobjects. Why kobjects and not 'struct device'? Why even have them in sysfs at all? You need more information here as to why you want to do this. thanks, greg k-h From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752842AbbJTVD4 (ORCPT ); Tue, 20 Oct 2015 17:03:56 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:42128 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752150AbbJTVDw (ORCPT ); Tue, 20 Oct 2015 17:03:52 -0400 Date: Tue, 20 Oct 2015 14:03:49 -0700 From: Greg Kroah-Hartman To: Pantelis Antoniou Cc: Rob Herring , Frank Rowand , Matt Porter , Koen Kooi , Guenter Roeck , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, Pantelis Antoniou Subject: Re: [PATCH v6 1/4] of: overlay: kobjectify overlay objects Message-ID: <20151020210349.GA28724@kroah.com> References: <1445368397-8732-1-git-send-email-pantelis.antoniou@konsulko.com> <1445368397-8732-2-git-send-email-pantelis.antoniou@konsulko.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1445368397-8732-2-git-send-email-pantelis.antoniou@konsulko.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 20, 2015 at 10:13:14PM +0300, Pantelis Antoniou wrote: > We are going to need the overlays to appear on sysfs with runtime > global properties (like master enable) so turn them into kobjects. Why kobjects and not 'struct device'? Why even have them in sysfs at all? You need more information here as to why you want to do this. thanks, greg k-h