From nobody Sun Nov 10 05:41:38 2024 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="ME6arAZI" 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: quoted-printable Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Andi Shyti --- 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-w= c.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 P= MIC: @@ -106,7 +106,7 @@ static irqreturn_t cht_wc_i2c_adap_thread_handler(int i= d, void *data) return IRQ_HANDLED; } =20 -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_adapte= r *_adap, u16 addr, } =20 static const struct i2c_algorithm cht_wc_i2c_adap_algo =3D { - .functionality =3D cht_wc_i2c_adap_master_func, + .functionality =3D cht_wc_i2c_adap_func, .smbus_xfer =3D cht_wc_i2c_adap_smbus_xfer, }; =20 @@ -554,6 +554,6 @@ static struct platform_driver cht_wc_i2c_adap_driver = =3D { }; module_platform_driver(cht_wc_i2c_adap_driver); =20 -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"); --=20 2.43.0