Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2209448rdb; Tue, 20 Feb 2024 23:48:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVCq50ahjZ+l4g3K/qncvCul36kFc5aWTeyekL67On5kiCij593w5XbeCHlCLUJ72rF9W7EvgR2ld/PFZToyHJNcuz/ZdyneY+RZ5L/sA== X-Google-Smtp-Source: AGHT+IEdDkKdQtgQrEsyDbix4S/sBNTjyz8g7Z6kPpVhB2j34fKMRO5VeW7Pb9iUk2ONRKaXz+Y3 X-Received: by 2002:a17:902:d543:b0:1db:e672:3702 with SMTP id z3-20020a170902d54300b001dbe6723702mr10344810plf.13.1708501681422; Tue, 20 Feb 2024 23:48:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708501681; cv=pass; d=google.com; s=arc-20160816; b=A9tKFQscO3mDzt7/d1HrAJy0Jdv2NO3OCVCQ79mehDu3AgyG3BqzvQnOnq6RS3ZtKZ Gjxe63oc8L9k+32fg3smaFNhcDhB/ko7HpmRJkHjQ2Dpnxr1/PXX/0OvI5lSC+1Gawia Ynv2q8/BesUPGqZjg0444R0ahKgoIcppv4CFkbFr3vcHtpEQQM2xC5gxtO+p7LFtrKOj Hj4BU8ZEhHe0t0brlDowboaHXlJaeiVCV5X5+gZggjsTovJuO+TM2GgvUAjiTbQCGmdZ 4xug38AqJ3BwZfsf0QWugfgtl9MKEfzUqxW0em2JbbYkvEQK09R2YzhdOhxgPolzSKZM ORLg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=asSVmVvVNjvw4deTRgJOs1pD3yOHDi7dPd65hk3xLfA=; fh=KpurKsuHGHRK/IkjfIeFOk/YPNTo3LBM4pt7hpCCe1s=; b=v+iPThh3ICP2+jaIqQ4KItyQBpDOZa0R/Xx2Saj3XSoK3cvv5/yo/AKZpy/FHq4/qf Khxp2b3Hf9PpY+Fob+LyOC9pnEuEc3isyE8lqUm1UpAdUXUEOxb3ETeZ9nz2q4QBoJUi X0DxEoOIedhnQ91T/5KlMDoV/+ch2Bq+anODMxtHmXxMaZ8jkJAy/47eRfupzTOjGko8 Ohm0UVdS6OYGq7liOFqVTnday9Se3tclRhZwCHE/ue9R1w4WQxxMKj742nlMDkLn+JWD 8gPWluaG6z1+aH7Sc4qs1CUwnKk698GAp/oSt9RkhRXpl2jjnkVrvsiUpKSNntXcodu3 ktRA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dRGSkJ5C; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-74256-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74256-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q9-20020a170902dac900b001d9aa5d0a5dsi6258373plx.364.2024.02.20.23.48.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 23:48:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74256-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dRGSkJ5C; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-74256-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74256-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 231B92875B1 for ; Wed, 21 Feb 2024 07:48:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7D7E23B1A4; Wed, 21 Feb 2024 07:47:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="dRGSkJ5C" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5A91A3A8E3; Wed, 21 Feb 2024 07:47:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708501671; cv=none; b=SkQ7Dcd8gmircxffAGE0w1u7eYnzUSNTIz32VnYr0CH+nVvHVbW3rXpOJU8j9Jset80rh4Sr36d0Gk1aqXl0es4qsMsR4uGwPZTj0db19mXuqOgvZiNF9x8zH4r+hzv/SEhw3acyVeCrZ7ysmnt8LcxluC9smh7v+nejS5VO1ss= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708501671; c=relaxed/simple; bh=tAM+xAvzOrgvzk53bwi9cjdiV077BhZDvjgFfZc2M6A=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qCI481gSBA7SRL02rTxkrPAud7CyfYYxIaltix/bXdM1+4ESS8Iwr9JwNONJKI9cXgJX8kxEL6zdIOr0IBuBf4JvmG6M6/dJo9dr8ZKByycWRRqi6aNm+VNnr0T7B9YWrNct7VMZ8rzK7OL+6iirnXahv0wQ6slR0ojwCRN+IFg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=dRGSkJ5C; arc=none smtp.client-ip=192.198.163.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1708501670; x=1740037670; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=tAM+xAvzOrgvzk53bwi9cjdiV077BhZDvjgFfZc2M6A=; b=dRGSkJ5CHDY533qSH095/sG9JpSiwxw1uytHOZaXmLlMm1oycrpQwDx7 aN/3Xo+K2tT1kQaC0CA0ku4X0hXcNdbsQPE2g49+mkcZs24gW1wlSUewK UtpvDbo2ykPnpy5Ky0D+y35Y4P5M8f7rZWDzZ8L0HMfGViso2bRJf3VVs vc9iY4693g/+AdUirNje4ao8GI5pzcinM9crBzPTRfkikssN6eQMbsnxl atxFGablXINoxTVQ77ZLDQ4q2/iksW1tn9EXsmo/ycGGAz5Y29AKZeJK+ 7qVZWU2nxyZtWGwzzRZEDyjWbxClXeARY18bqUlmyk87UcxZkzfCbFrDz Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10990"; a="2785967" X-IronPort-AV: E=Sophos;i="6.06,175,1705392000"; d="scan'208";a="2785967" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2024 23:47:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10990"; a="913251921" X-IronPort-AV: E=Sophos;i="6.06,175,1705392000"; d="scan'208";a="913251921" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2024 23:47:47 -0800 Received: from kekkonen.localdomain (localhost [127.0.0.1]) by kekkonen.fi.intel.com (Postfix) with SMTP id 226C111F855; Wed, 21 Feb 2024 09:47:45 +0200 (EET) Date: Wed, 21 Feb 2024 07:47:45 +0000 From: Sakari Ailus To: Andy Shevchenko Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, "Rafael J. Wysocki" , Daniel Scally , Heikki Krogerus , Len Brown , Saravana Kannan Subject: Re: [PATCH v1 1/1] driver core: Move fw_devlink stuff to where it belongs Message-ID: References: <20240220161002.2983334-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240220161002.2983334-1-andriy.shevchenko@linux.intel.com> On Tue, Feb 20, 2024 at 06:10:02PM +0200, Andy Shevchenko wrote: > A few APIs that belong specifically to the fw_devlink APIs > - are exposed to others without need > - prevents device property code to be cleaned up in the future > > Resolve this mess by moving fw_devlink code to where it belongs > and hide from others. > > Fixes: b5d3e2fbcb10 ("device property: Add fwnode_is_ancestor_of() and fwnode_get_next_parent_dev()") > Fixes: 372a67c0c5ef ("driver core: Add fwnode_to_dev() to look up device from fwnode") > Signed-off-by: Andy Shevchenko Reviewed-by: Sakari Ailus -- Sakari Ailus