Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1025006lqm; Thu, 2 May 2024 03:02:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVcnAoVVH7Q9j7kb8owEoRu7987GtrP1HFiRtyuOJMWCjNncoBxIMW9L5xsgiTRiA5F7S3uHOrHov8/uQoFDzS4bnc9IIu8OKkC8TAwug== X-Google-Smtp-Source: AGHT+IGiBT5Z4W0beY8A6VX5uUpHavtNb/Xur8/I3KrYWHnrvEAGFZ8Op1ZpV31Ksi2OYW7fvBY1 X-Received: by 2002:a05:620a:4d10:b0:790:e8f5:c05a with SMTP id wa16-20020a05620a4d1000b00790e8f5c05amr1613944qkn.78.1714644177467; Thu, 02 May 2024 03:02:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714644177; cv=pass; d=google.com; s=arc-20160816; b=yXJxL5XumEsJ5W13pbcNPB5zmQItpDPvQTpspl2QuGDcN6rrLU83eiDov/UxWLM+1j O1f3p3TRyq12v4FH8znAgu/rn6voTYRbngFqT93Gy5YqB9IIlWDn9BkVgMpyPXzqEso+ JsQa0lFVazHFKYGOfYJcrNBw+VRO0J+Q38a1N5TTEt03yfIKYI6J7/3YawIaQxL95Mb0 OgHgPWzkrI8znnaS9LKlSLSd0LLiMtmMZa6LRxi+DT0Mm70i0Mw1Gpnc4xdgAlC95WOd 4tYmdXvsisIGdfMaYPybLc4mhgDl5moW1vw6SZV6cOEyLOJHV4bB4aqUqWXlzgSyRqyR /KTw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Xs4OneeoRMI1jPqdRaOzFcx1puSYW69SJuHAIqMen1A=; fh=ISqRer0eMP8cPd5eUw4tEvtNT0DWDHPBedPF6oq7w74=; b=05Bn2jmq5oS64u+O8xwdOvlL6yslBpvBqtarTM44GdmjOrCMRyCYO4utmH0QbalGDm 19Jru2oqRnJv7pfnHnYWrdZRhwJ8Kprtgu5BXLmZDYWoQlOwLr7f5TLCiMZt3HaC8WxK 9jbkDnRuatM7BxjGl4ozXsWONNRMX8VpxV/lk3ldIgKr7uoxzsQKOMrs3GEDuNkwZmjE 2n7gQKxlgqhqtaZmwvbAVcqNNeBhnYivXPPOWJ6LXFu3K0s3X1bhua+MuDEjE8+D26OB gCBslJHxzsK68a+CxkXRszwpXHstFXe4lVmr2xmSs1hm8lMqkJ4LlnyFOW0YC/E1WoM2 Cu4A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gY5wmHPm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-166274-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166274-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id dw19-20020a05620a601300b0078eeda78c4fsi629419qkb.14.2024.05.02.03.02.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 03:02:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166274-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gY5wmHPm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-166274-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166274-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 B38271C237B9 for ; Thu, 2 May 2024 10:02:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E410957880; Thu, 2 May 2024 10:00:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gY5wmHPm" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 0976D5676F; Thu, 2 May 2024 10:00:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714644013; cv=none; b=bpLE96tveE+mMjXjcFsCA+y7NZ6ecnusL9oIJN784G6BKBck8/v8zrQ5IUQkahOjGPKuiT7EdGa9TSfOer3VQdUO6NrhaPY0MokO6xvQ/Yjk4ZRP4AWuH7YqcuzYepgWo0YSyAtpYk33XRj7CqcZHj4rColpPKOPKZ9VB2JQt4A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714644013; c=relaxed/simple; bh=htKiubxGZ19836bcnvnjwCBea7ZpQE+zL7IN1ToMNkM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iK/UMAQjRR273TCmdYCLOQyu6XWWcxmHd4FqYYd09RW/7/YBcfLEoxBYAzDyV5+3bqU3qUcXJHsU9Oj1RyFQbXCIo7/LeRJx3gQErSpH/FTm0fweDKUNC48tYAHDu84MRN1xj67QeVTN5nJF+WxH8rIPJhCty8+B14MQduBQKKE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gY5wmHPm; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1D1A9C113CC; Thu, 2 May 2024 10:00:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714644012; bh=htKiubxGZ19836bcnvnjwCBea7ZpQE+zL7IN1ToMNkM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gY5wmHPmIq/ogWfrSyBfa7PQpRCTHpwKmP0tgGjLQOE3rKwzQewgxGgwoVpxvoGxw 8pWnrrkHRBBtMFlOBDsDuAKKSalqx2fQ8oXXHbciNfp1KkZ/dh9TOwlDBpWO2ChKUS hxwqKBd6Epex7XZ/He6fEDMl+DhIIeVCtTxtsyw46sVgvRyHd0eyVRAF3z/IlZ7idr SVqQnicPYaw2gM08BctkvMi0HJOr/0xXP5ntwVbGmLR+6mHuDPuLlofC6uTPYHbFJH 7jF/Ck9IWRhbabsvH5Kqa0nNJJeHLdMGIjFSjEIbJ6SmTrIwP012smiMZQY5QqweSr oSQk8f0hrurmQ== Date: Thu, 2 May 2024 11:00:06 +0100 From: Lee Jones To: Florian Fainelli Cc: linux-kernel@vger.kernel.org, Jarkko Nikula , Andy Shevchenko , Mika Westerberg , Jan Dabros , Andi Shyti , Jiawen Wu , Mengyuan Lou , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maciej Fijalkowski , Andrew Lunn , Duanqiang Wen , "open list:SYNOPSYS DESIGNWARE I2C DRIVER" , "open list:WANGXUN ETHERNET DRIVER" Subject: Re: [PATCH v2 2/4] mfd: intel-lpss: Utilize i2c-designware.h Message-ID: <20240502100006.GQ5338@google.com> References: <20240425002642.2053657-1-florian.fainelli@broadcom.com> <20240425002642.2053657-3-florian.fainelli@broadcom.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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240425002642.2053657-3-florian.fainelli@broadcom.com> On Wed, 24 Apr 2024, Florian Fainelli wrote: > Rather than open code the i2c_designware string, utilize the newly > defined constant in i2c-designware.h. > > Signed-off-by: Florian Fainelli > --- > drivers/mfd/intel-lpss.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/mfd/intel-lpss.c b/drivers/mfd/intel-lpss.c > index 2a9018112dfc..551560beff7b 100644 > --- a/drivers/mfd/intel-lpss.c > +++ b/drivers/mfd/intel-lpss.c > @@ -24,6 +24,7 @@ > #include > #include > #include > +#include > #include > #include > #include > @@ -116,7 +117,7 @@ static const struct mfd_cell intel_lpss_idma64_cell = { > }; > > static const struct mfd_cell intel_lpss_i2c_cell = { > - .name = "i2c_designware", > + .name = I2C_DESIGNWARE_NAME, > .num_resources = ARRAY_SIZE(intel_lpss_dev_resources), > .resources = intel_lpss_dev_resources, I explained why I don't like this in v1 this morning. Please take a look. -- Lee Jones [李琼斯]