From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fgw22-7.mail.saunalahti.fi (fgw22-7.mail.saunalahti.fi [62.142.5.83]) (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 B8C36393 for ; Wed, 24 Apr 2024 00:00:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.142.5.83 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713916812; cv=none; b=IalH2cnEgWeKRbFjchJOuaHbpb2p0wKiDcudB6vXYybeRZJNqvFMjRguFq+fOqaEe1BEWV63/Jna5k+YmZPNUjmEpCRA8oH5aDRZgpHivIDZWCb54VGZBpDKA+EVH+N9RLwHDH2zu3+4zWlTNM6pPHrSO3fiQmkA9d9zSLnTVUY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713916812; c=relaxed/simple; bh=YHhAzKEj1cXzSZSyGZxvntWUsJLnny/LcXCQYZ0+TBg=; h=From:Date:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=A7RQFd4QuFXDz4x1rrBu/4Larhp+32KmiQIfES2DBn70nScS38w6tpDxP/xSAE7xqqeMxjlQowmwNePJx2Dm08C5CSxliFVwlHPthp5UbVI4SSlhTt8MsNlwkQG4lOqayVlXVilX1k/S2P0aS2hMcplKWPyH9+5S9hyGqEZgekA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com; spf=fail smtp.mailfrom=gmail.com; arc=none smtp.client-ip=62.142.5.83 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=gmail.com Received: from localhost (88-113-25-208.elisa-laajakaista.fi [88.113.25.208]) by fgw20.mail.saunalahti.fi (Halon) with ESMTP id 9bebda9f-01cd-11ef-b3cf-005056bd6ce9; Wed, 24 Apr 2024 03:00:07 +0300 (EEST) From: Andy Shevchenko Date: Wed, 24 Apr 2024 03:00:06 +0300 To: Florian Fainelli Cc: linux-kernel@vger.kernel.org, Jarkko Nikula , Andy Shevchenko , Mika Westerberg , Jan Dabros , Andi Shyti , Lee Jones , 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 2/4] mfd: intel-lpss: Utilize i2c-designware.h Message-ID: References: <20240423233622.1494708-1-florian.fainelli@broadcom.com> <20240423233622.1494708-3-florian.fainelli@broadcom.com> Precedence: bulk X-Mailing-List: netdev@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: <20240423233622.1494708-3-florian.fainelli@broadcom.com> Tue, Apr 23, 2024 at 04:36:20PM -0700, Florian Fainelli kirjoitti: > Rather than open code the i2c_designware string, utilize the newly > defined constant in i2c-designware.h. ... > 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, > }; We have tons of drivers that are using explicit naming, why is this case special? -- With Best Regards, Andy Shevchenko