Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp159881pxf; Tue, 30 Mar 2021 23:16:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynuHwRJtNs0awkIUIFd9x/dapTKGrpV29FCQNVULkQvy16QF7EVrvvMfDKT33wRdd7ldm7 X-Received: by 2002:a17:906:d787:: with SMTP id pj7mr1761771ejb.257.1617171394281; Tue, 30 Mar 2021 23:16:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617171394; cv=none; d=google.com; s=arc-20160816; b=RAG9ylHosAfT9kEGngxYcaaxOT4JeHoB4E835Vgw5ynes5yoUwE+G/eAnmsZSNxFgC CjSEHeOHpUzjlojqkAQWRWnDriCEL99imimoc4M591fmYdgP2HqMAx+GDxcN4h2sU+tM 0hbmMv0SfDWxS5eIHv0m6pPLhOlQztDtaS2CfwumX7sAjb3PIAq/6qNbKRU6vtsWstEh OD1Desy9FZOaMl0WSQ7qCrhhpm0PFI7iLpVy5x+ZNPZomAV1IR3iVr4IruiDzowqn1mi MLz+YIC5PNN2VmpAqkASGbqV1x6HedaCZusB2f5fT28kXJlPkUEPlxPyloBOL07yjxIq f5ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=U8soa+3lEwDpsMCD3x7mHQ+wT+XGTHJIUFN0jsixb8Y=; b=GANFhuO4S7Q4Se0RRLPVexvFWBTJu/4FSWiKFz7GnDUYwOuhJfyoarvP+cn9RrR9zJ E/0OtxYAT1Gg9Dx3n9bfQuS3V+n/7yYj1opSsiAM4j0OWw3KBv3qd6MoKir6zqF+U3l5 RnyEzyNENZxm6mZyeAnAAPXyEHIceQFBtVy1y+aruJsGH0bS+Uq2jyRuLnCxMmVKl1IM IoyPlhsfxsTmkmsVuAvJ+2wWEGfxvmWFasfYfPLuPh/RfMpsnABPT7dusD0LiJRpwZSI lpGIm3vzE9PL53M2LIe1AHPvhNnORpX8s7ng7gASQuftZ4zCgqZiJmH8d/LPlY7MN5CL xLow== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bv9si846231ejb.377.2021.03.30.23.16.11; Tue, 30 Mar 2021 23:16:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233716AbhCaGPM (ORCPT + 99 others); Wed, 31 Mar 2021 02:15:12 -0400 Received: from muru.com ([72.249.23.125]:49140 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233694AbhCaGPE (ORCPT ); Wed, 31 Mar 2021 02:15:04 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 9068B80C3; Wed, 31 Mar 2021 06:16:06 +0000 (UTC) Date: Wed, 31 Mar 2021 09:15:00 +0300 From: Tony Lindgren To: Heikki Krogerus Cc: Wolfram Sang , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Aaro Koskinen Subject: Re: [PATCH 03/12] ARM: omap1: osk: Constify the software node Message-ID: References: <20210329105047.51033-1-heikki.krogerus@linux.intel.com> <20210329105047.51033-4-heikki.krogerus@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210329105047.51033-4-heikki.krogerus@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Heikki Krogerus [210329 10:51]: > Additional device properties are always just a part of a > software fwnode. If the device properties are constant, the > software node can also be constant. > > Signed-off-by: Heikki Krogerus > Cc: Aaro Koskinen > Cc: Tony Lindgren Probably best to merge this via the rest of the series: Acked-by: Tony Lindgren > --- > arch/arm/mach-omap1/board-osk.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/mach-omap1/board-osk.c b/arch/arm/mach-omap1/board-osk.c > index 0a4c9b0b13b0c..e18b6f13300eb 100644 > --- a/arch/arm/mach-omap1/board-osk.c > +++ b/arch/arm/mach-omap1/board-osk.c > @@ -332,11 +332,15 @@ static const struct property_entry mistral_at24_properties[] = { > { } > }; > > +static const struct software_node mistral_at24_node = { > + .properties = mistral_at24_properties, > +}; > + > static struct i2c_board_info __initdata mistral_i2c_board_info[] = { > { > /* NOTE: powered from LCD supply */ > I2C_BOARD_INFO("24c04", 0x50), > - .properties = mistral_at24_properties, > + .swnode = &mistral_at24_node, > }, > /* TODO when driver support is ready: > * - optionally ov9640 camera sensor at 0x30 > -- > 2.30.2 >