Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1127052lqp; Fri, 22 Mar 2024 06:29:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVyYa8ZBVxAti97mlwlPmBc7TXQ7WwZMgCfjTG5vs/1qiSRgxOuJV0r2cFXXHr6vIK6Bb8zY4kdVHE7aR7SRAckCmKzpgJ/snbkDSNsyA== X-Google-Smtp-Source: AGHT+IGxDKWJ1lZERAn+Gh/OblOO5wAYTccOBUdzz0ZrnoHYTP0BPu9TNgIk/M1QJiKnDU9I/Ize X-Received: by 2002:a05:6a00:3d44:b0:6e7:7ff3:1845 with SMTP id lp4-20020a056a003d4400b006e77ff31845mr2957841pfb.30.1711114172870; Fri, 22 Mar 2024 06:29:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711114172; cv=pass; d=google.com; s=arc-20160816; b=pMGhD5NJdFTww8tn5UAojqcV6WDRai6cerUF2x4vpR/2pbHmzXvwVYRT0/a0RdwTrQ px5PNZys3RAeCXQKO0QZ/7P+xeEgCtMORbmOmvulHw1c7JEJom0nrN4cjuBY2kyt7dpS Eu9nmSSNYTPrk52i7Qhgs/Td//+f7ryzNE/jJthSjCVJLrUSJ4Bie121APi+bZLwIBQD dBCOM7+ajJazzMDPDo4ft1mchnlvkOloQUMCDfGxMriU/RyveKErkCam4wgnPmrd/4Rt KFKaUdXogUroseUjxmqqkcQevwtEEffA6VgW5V1CshydnBpKvfkYRKcANR4JZwXTQkD/ w5Zw== 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=Hb6ygo2gDcXeza4LMpivX7Jc9uJy+bbFjc6SX1hTOtQ=; fh=2fuBcPFe1KLqqdXS4V7is+WKWYvvb5qiEAsyjGWGhss=; b=NGD9eqxfe8tpUm/cyrUFeOIEiyPx/SGLWQx0BHCb9vyIiFV6k1uXTdbfira35XhgEY apg/W01+W1N24w0g6Mdml6WAbBuHxYiVaWaDEnIHwTrM43ULAVZknEsGQxCT8Kr1AfaQ oRU2I90/yg4pGvOG40ua23xCbWzqOfbN4YxSPS7UFTomJ81PvRtjA9gLpBE40FcSEn9g H2poRvcmmZXsi4S1PqBMotWDTb4qx+SyX3b+HaLReLbT71n0NAV8YIU9dY7HXP9gEPtS liEHK2rHIXtRGsKv6A2+RJDb2JAzdUWkqoB+xqDnTdQLSBrXxKBI3Ii+hEtUaW5PokgV Fqow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=ME6arAZI; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-111491-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111491-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id o6-20020a056a00214600b006e6a6d5846dsi1947249pfk.12.2024.03.22.06.29.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 06:29:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111491-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=@sang-engineering.com header.s=k1 header.b=ME6arAZI; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-111491-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111491-linux.lists.archive=gmail.com@vger.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1ECD6282DA6 for ; Fri, 22 Mar 2024 13:29:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E3E835A106; Fri, 22 Mar 2024 13:26:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="ME6arAZI" Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) (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 218295820C for ; Fri, 22 Mar 2024 13:26:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711114011; cv=none; b=jS2CElvduoGvR1WzBaLS7g05FI/HlLCZG7LMpjx8vGkrAK0ZyxjF0+kHV2hhmZikvjddYy3/UCf4i8OsRAu5RMPGaJRObUwcGtQ6VLtQt9B4y5c9aA4ZEKi88EZwuB5hhrgdF6qrJYd6yMoHzozlowuj0H5U3lrvB0GCwLvRCRM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711114011; c=relaxed/simple; bh=pdslGmCg7UYS904SRehvA69DAu8yAAOzUDQVvWox858=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=PYpG3sYJFU7Ys2CK9ZOZ3HHbYzDEG3YnPwy+4Kwpd7Vwk+nZV44542sNeL6LGsGPlLYggFSCrV3tWssU9J6kCuOXjBbeIRGazxdfCtwBuazXkvfHcDX4o8Ta2Zu5vlYJqxErlqWJ0NY/nOlnLEqo3JuuNTNXOA4hQC0aiqgTh00= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=ME6arAZI; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; s=k1; bh=Hb6ygo2gDcXeza4LMpivX7Jc9uJy+bbFjc6SX1hTOtQ=; b=ME6arA ZI2cusTJpPWViEnC9zUp/QZTz4Yc5gDU6uW6Ul0aHucW3lnFG66aB2hIGGvriPJo hZUcl1DX5x76PhoSiz4u1L7gmr88M2WEe5WUS6XOXqcrDsJ0ZEA0MW6qRVznJ7jn uaKyPZ8PZdMvDk7GBEbbZCUiL+3udddtWqbFXMikgBDArHIb46dXzRlP/NOUqLVh DOVYxjq7nKPMM/gdkn9MlHYCK3Wx07TFhaACIiAMYDzpmG+0XgVkpNmrcabAqO3s Wr+zUyjtkzUHWA8ren9RCUORiHqUceHl9JM4Oye+zzILXhRz7Qc/Qonu+55SpEW8 S6hq4FLuUErkY9qQ== Received: (qmail 3870300 invoked from network); 22 Mar 2024 14:26:31 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 22 Mar 2024 14:26:31 +0100 X-UD-Smtp-Session: l3s3148p1@JxqWxT8UnuBehhtF From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , Hans de Goede , Andi Shyti , linux-kernel@vger.kernel.org Subject: [PATCH 12/64] i2c: cht-wc: reword according to newest specification Date: Fri, 22 Mar 2024 14:25:05 +0100 Message-ID: <20240322132619.6389-13-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240322132619.6389-1-wsa+renesas@sang-engineering.com> References: <20240322132619.6389-1-wsa+renesas@sang-engineering.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Match the wording of this driver wrt. the newest I2C v7, SMBus 3.2, I3C specifications and replace "master/slave" with more appropriate terms. They are also more specific because we distinguish now between a remote entity ("client") and a local one ("target"). Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-cht-wc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-cht-wc.c b/drivers/i2c/busses/i2c-cht-wc.c index 0209933b9a84..52e3000626c5 100644 --- a/drivers/i2c/busses/i2c-cht-wc.c +++ b/drivers/i2c/busses/i2c-cht-wc.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-or-later /* - * Intel CHT Whiskey Cove PMIC I2C Master driver + * Intel CHT Whiskey Cove PMIC I2C controller driver * Copyright (C) 2017 Hans de Goede * * Based on various non upstream patches to support the CHT Whiskey Cove PMIC: @@ -106,7 +106,7 @@ static irqreturn_t cht_wc_i2c_adap_thread_handler(int id, void *data) return IRQ_HANDLED; } -static u32 cht_wc_i2c_adap_master_func(struct i2c_adapter *adap) +static u32 cht_wc_i2c_adap_func(struct i2c_adapter *adap) { /* This i2c adapter only supports SMBUS byte transfers */ return I2C_FUNC_SMBUS_BYTE_DATA; @@ -168,7 +168,7 @@ static int cht_wc_i2c_adap_smbus_xfer(struct i2c_adapter *_adap, u16 addr, } static const struct i2c_algorithm cht_wc_i2c_adap_algo = { - .functionality = cht_wc_i2c_adap_master_func, + .functionality = cht_wc_i2c_adap_func, .smbus_xfer = cht_wc_i2c_adap_smbus_xfer, }; @@ -554,6 +554,6 @@ static struct platform_driver cht_wc_i2c_adap_driver = { }; module_platform_driver(cht_wc_i2c_adap_driver); -MODULE_DESCRIPTION("Intel CHT Whiskey Cove PMIC I2C Master driver"); +MODULE_DESCRIPTION("Intel CHT Whiskey Cove PMIC I2C controller driver"); MODULE_AUTHOR("Hans de Goede "); MODULE_LICENSE("GPL"); -- 2.43.0