From nobody Fri Sep 20 01:32:41 2024 Received: from mail.zeus03.de (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 1954C155CB0 for ; Sat, 6 Jul 2024 11:22:01 +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=1720264924; cv=none; b=XV9IVftUokPhjXY+gc1q8Uc0ugp0J8hN8e0iKskO29Pf8Afy+XNa60MIgRZ+QFRzurha9CVG3fX4KFxrJixgqY7P7dM4S7r6r1PXeFceRedI11PaAtHfDDmgWL1CP2GXDom+fJ5TI5YjdzmEBN4ohQe4BThvhx8cs3BI0WCnf/4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720264924; c=relaxed/simple; bh=uASGBnRIOAUunsBu4PC5+W+eVdqyB+P6JqFrF86wJMk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fEZUC3ZqbJXcH45ecCyVcDzUFbg/JMIa1D3xo+m6vQ7GBoPafgh8fKh9gjjJPLYxQ0AG4Y+cvt7lBNOW7jTxlr8ER2O2RIysYIuOXsGZhu93+Ef7bUZnv5yZwzCsNe1eaQP78RPIvYK7AIxf1WePY6lLjZ9z9rweqIxx0NRDdSc= 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=ROV2pcBa; 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="ROV2pcBa" 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=V5hj0O5AUmD5ufh1dIsleSmlRFxggB91JNffQLCPKFw=; b=ROV2pc Ba428bheivtFBYD/QwxY/9Kvx7XxiagtsvF6mukI71+L7d+D9IO2mZ8P8h/Rephw BtNaV4HMC2sX90EmjNu7etGSNic774+haT93E9uIrEc+Kv2BPXKP15aCSBUKmgHU QLK5vlBmNX9HkeL9dKtZYFi+iV1/hzuNcB0oigv/8nszVpoSkRelEVraIRtvRN6D IaCEi8rNlYfyM9siyztZTMqAphmilqzWiTq3OIVbXsFXScm6yFtqYvgzbS/qc6cC OoUFyz2EP7GPy0kFx06SqtDo6GtAFb2rOnQoGZ3HdQBh0uMLehO/g5EWr84BvwE2 kDzLL6Pdj1RyaEpQ== Received: (qmail 3810456 invoked from network); 6 Jul 2024 13:21:45 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 6 Jul 2024 13:21:45 +0200 X-UD-Smtp-Session: l3s3148p1@HzibYpIc/sFQT+F6 From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , Peter Korsgaard , Andrew Lunn , Andi Shyti , linux-kernel@vger.kernel.org Subject: [PATCH v2 33/60] i2c: ocores: reword according to newest specification Date: Sat, 6 Jul 2024 13:20:33 +0200 Message-ID: <20240706112116.24543-34-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240706112116.24543-1-wsa+renesas@sang-engineering.com> References: <20240706112116.24543-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" Change the wording of this driver wrt. the newest I2C v7 and SMBus 3.2 specifications and replace "master/slave" with more appropriate terms. Signed-off-by: Wolfram Sang Reviewed-by: Andi Shyti --- drivers/i2c/busses/i2c-ocores.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-ocores.c b/drivers/i2c/busses/i2c-ocore= s.c index 4ad670a80a63..482b37c8a129 100644 --- a/drivers/i2c/busses/i2c-ocores.c +++ b/drivers/i2c/busses/i2c-ocores.c @@ -444,8 +444,8 @@ static u32 ocores_func(struct i2c_adapter *adap) } =20 static struct i2c_algorithm ocores_algorithm =3D { - .master_xfer =3D ocores_xfer, - .master_xfer_atomic =3D ocores_xfer_polling, + .xfer =3D ocores_xfer, + .xfer_atomic =3D ocores_xfer_polling, .functionality =3D ocores_func, }; =20 @@ -682,13 +682,13 @@ static int ocores_i2c_probe(struct platform_device *p= dev) } =20 if (irq =3D=3D -ENXIO) { - ocores_algorithm.master_xfer =3D ocores_xfer_polling; + ocores_algorithm.xfer =3D ocores_xfer_polling; } else { if (irq < 0) return irq; } =20 - if (ocores_algorithm.master_xfer !=3D ocores_xfer_polling) { + if (ocores_algorithm.xfer !=3D ocores_xfer_polling) { ret =3D devm_request_any_context_irq(&pdev->dev, irq, ocores_isr, 0, pdev->name, i2c); --=20 2.43.0