From patchwork Thu Feb 29 16:23:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 208492 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp630290dyb; Thu, 29 Feb 2024 11:30:25 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXCVDISPy3GDiAG9z3PFnYKaMvRKI2LnQEYniI2FMsDrB2VaaSh7X5vetkUUrEJSwuTwbL8oUJqcfdvMem+WJwkrqNr9g== X-Google-Smtp-Source: AGHT+IHOxExgDKGpCEFZ9cTZQgJOGvZMG6PJaQtNFWD7XOWyHiAKRh5FLXRmduuXVNPntgquLByk X-Received: by 2002:ad4:4aea:0:b0:690:452b:ecbb with SMTP id cp10-20020ad44aea000000b00690452becbbmr2833235qvb.39.1709235024894; Thu, 29 Feb 2024 11:30:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709235024; cv=pass; d=google.com; s=arc-20160816; b=FxdD9SWJi6dZORngDS1zMQJqjyMDPF2XcG5EyVhj5XfLnduD70lDsZ0I+1d8ebVgyg og3DEbEH47cLgntYDTCg4TOJcLnOmfsny5XJqTSCNev1r7ihfldxZd6/dGyXY8iK04VF +wUdu8HIzUng9gf+ypdjFzCs6P2hNxKBz0l1YmGRiUjlc+FOx1ARbKlU1ac3hOldPBP3 Gx0Sjc1fOxxGhVq7tPcc2GYrPZ6dx/vabcmUF6DdXzuLH2nKFz8mejA99VHT7AVM1U5l EVJlgAstCWIxyE7IccnBXjMKieu/AQoKoggyYcJjfj9MHg/oPWHeH7te/dT91MZAsM9k 5a4g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=RocFk4ZxXaLsrtdfETsBf19rgoIVxBt9FNx7wAH4FH4=; fh=PRl5MzdmytFjKE81kavLvxpj/1sHNaJ25ZapRQgn2XQ=; b=VDwj2hY2WqKRG8jLnjld3WdBctN1nrIIL7XH0ci3uPBUG4V248bZnP/8eqEW/LxDqA RozcPgr6ilFcHD9E8Da0krmrm+gI+qkA++akFZX8mIawdSRX54a4R85CXjfNLTviHWSI FxOoqtOpuwnK6mkVeI5bw0G0icZ0/Cu0XlY3CwnPiaQcPmZtacs9FRIU4z1pUCwJJMog lHeBGPuBFZ4KccAFHAVxqMfk3c70Pu5o2U3x+VaKQEnaKDjcwesTkD7zLHTwDMEgXywo +XhC/HPuJmG838JdCa4v/N9Bvg+wCVOliHbajHOGpGauQgT1lXyL+E5V67DPgNVDy81l vR7Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SutE6Hel; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-87083-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87083-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id pj1-20020a0562144b0100b00690171413dfsi2027838qvb.498.2024.02.29.11.30.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 11:30:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87083-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SutE6Hel; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-87083-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87083-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C98F91C2341F for ; Thu, 29 Feb 2024 16:31:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0563A7A136; Thu, 29 Feb 2024 16:28:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="SutE6Hel" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) (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 C0B4A4AEE5; Thu, 29 Feb 2024 16:27:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709224079; cv=none; b=KX8pY2H9xYod3fqQV1HOdID8mPczH9aj5e/tDbh/n0M72f+kUdI477XAwM1nYTfXgE2+a1onRrLQy26H4df+bHvPA2M4IHLq7or8dAAg0mqIQuO8WkctYTVt11K3wqueW0h8Asr3zJkQmwRoOfF+sKPLx85b3AlcBvU79JkHVBo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709224079; c=relaxed/simple; bh=BW1c/RkhUJtoUJ2pTjmMw2HsXxDX+1fRKgzP9b4AcP8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=M/9NaJqhPWk3anO8UuFUM2VRv1m2LAyoJDeB7YOn0myyugfe9XFd9Z4YtiPr+24sBbmgdLOpRHSRohOyBks8yL92QsR5kE1PM4G5qDDs9B6lGhPyfMnFboNHkvikIV41D+crhtZAo/kS6dmsUon4kvQsYcbs9kKcnNPKHnukY8U= 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=SutE6Hel; arc=none smtp.client-ip=192.198.163.13 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=1709224078; x=1740760078; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=BW1c/RkhUJtoUJ2pTjmMw2HsXxDX+1fRKgzP9b4AcP8=; b=SutE6HelF80K0FRn3UqyDOn5VqCnICsSi/Bon+85irDR61pPQhhRRmic Xj7a4gxx5F25U5TJaUEraxdXjI8DuZBHbcU10V2XF9r+/ji/Z2pRCL7aa Y52EDgRKHvp9yJgmgpv4Ux9oTIrIIMwZ+jmOUeQPO+M1/Vh9iq2Ppqip2 Lisf0VBVZoHiSWP/gCn+GueBSlhMvqUUgzTFxyeldSKBZZDqMGiKDtGNa tbb1ptbjzWwElR9hbARoLpFAxTe7khH8e4VdiCmm7na/FlWaeaTVOzM8s 2G1IN0qOUGYdM0sHvPsWwwQBY/m5gqVIQUkIkaAowuwO36ICJgHD//LPo g==; X-IronPort-AV: E=McAfee;i="6600,9927,10999"; a="6660713" X-IronPort-AV: E=Sophos;i="6.06,194,1705392000"; d="scan'208";a="6660713" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Feb 2024 08:27:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10999"; a="937036136" X-IronPort-AV: E=Sophos;i="6.06,194,1705392000"; d="scan'208";a="937036136" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 29 Feb 2024 08:27:45 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 9055619F; Thu, 29 Feb 2024 18:27:44 +0200 (EET) From: Andy Shevchenko To: Greg Kroah-Hartman , Andy Shevchenko , Sakari Ailus , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Cc: "Rafael J. Wysocki" , Daniel Scally , Heikki Krogerus , Len Brown , Jonathan Cameron , Lars-Peter Clausen , Saravana Kannan Subject: [PATCH v3 1/4] driver core: Drop unneeded 'extern' keyword in fwnode.h Date: Thu, 29 Feb 2024 18:23:43 +0200 Message-ID: <20240229162741.3854912-2-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 In-Reply-To: <20240229162741.3854912-1-andriy.shevchenko@linux.intel.com> References: <20240229162741.3854912-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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792262825233888842 X-GMAIL-MSGID: 1792262825233888842 We do not use 'extern' keyword with functions. Remove the last one mistakenly added to fwnode.h. Reviewed-by: Sakari Ailus Acked-by: Saravana Kannan Acked-by: Rafael J. Wysocki Signed-off-by: Andy Shevchenko --- include/linux/fwnode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/fwnode.h b/include/linux/fwnode.h index 2a72f55d26eb..2d23a14857c7 100644 --- a/include/linux/fwnode.h +++ b/include/linux/fwnode.h @@ -209,9 +209,9 @@ static inline void fwnode_dev_initialized(struct fwnode_handle *fwnode, fwnode->flags &= ~FWNODE_FLAG_INITIALIZED; } -extern bool fw_devlink_is_strict(void); int fwnode_link_add(struct fwnode_handle *con, struct fwnode_handle *sup); void fwnode_links_purge(struct fwnode_handle *fwnode); void fw_devlink_purge_absent_suppliers(struct fwnode_handle *fwnode); +bool fw_devlink_is_strict(void); #endif