Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp501574ybl; Tue, 7 Jan 2020 09:49:25 -0800 (PST) X-Google-Smtp-Source: APXvYqxBv+nRQDVhzhnMIH647xZUOKYA9WJnOYI7BIBI+VChGU5DGfro6YJIMb7/ur2+J0Sc33zk X-Received: by 2002:a9d:674f:: with SMTP id w15mr947234otm.243.1578419365405; Tue, 07 Jan 2020 09:49:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578419365; cv=none; d=google.com; s=arc-20160816; b=gR24KmIf1PwuBFvK4YuntxFD6hM8b6h4fGKmXgpL3x8uHMJDqs44wQHL5KvUu/23ge GqMon+J+YsHa6zxAwehdMQwsgtNIXKbZQUZS/9OkALLzby49zw/TqqHIjV8v1naPxHjS VRpJioiWouD8U1RaLjsAa2lfEBvwZgi9c/puqfRlojvy3HlRmQpxJ8LIfxJdyCM+JMvF Lq7FHp1ptK1oyu8dIDPkDfxei9HKbYZsxEvCgV2EMVpTQcrA4MPFWG129voawVQzVqt+ 1bPAooWll3oqcjki2zlaLO5TYcoIbsb71FIeIal2Hn+NdmZqkJhPFIQGTXpkMFvC2qtg CwWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=2JiL8UoD6++8bjcJCvmTLielBKjlAXPmTLA5h+roYDM=; b=KfsHLtpO+N24oMAxjBJ3tVsMczmM+CW8aBTzknwtpN6VeHqQUEREvNA6msOaQqQMUj ZnTdCjY+IiVb+VLNmiPWZG8YLPSMJNGsnu48LJtitBcNj6Jcwb17OQQOnkmW6fpbE9hF 4FL21VGuKVByQ5nCJ2QpqzTnTdIHzA3j7wgatgU5LO0c5+SqtDIDysaxZhjNFpaHDtRK 2HBlMcfOSrV7bAilgmcnzSzfw+5wMCW8n5pkuY5BGcTpevEJKz7poGioEqGeGpvykiaR lYoaRJBf5WWyZBJIXtE9NSnXvZ4SyLWVwY+PSEeJeSiCeaFaAdg/CcG8U51V/ZK5bSV9 tLRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d6si249867otq.41.2020.01.07.09.49.11; Tue, 07 Jan 2020 09:49:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728493AbgAGRsJ (ORCPT + 99 others); Tue, 7 Jan 2020 12:48:09 -0500 Received: from sauhun.de ([88.99.104.3]:53300 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728211AbgAGRsI (ORCPT ); Tue, 7 Jan 2020 12:48:08 -0500 Received: from localhost (p5486CF8B.dip0.t-ipconnect.de [84.134.207.139]) by pokefinder.org (Postfix) with ESMTPSA id D79E72C05BA; Tue, 7 Jan 2020 18:48:05 +0100 (CET) From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH 00/12] i2c: convert subsystem to use i2c_new_client_device() Date: Tue, 7 Jan 2020 18:47:34 +0100 Message-Id: <20200107174748.9616-1-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series converts the I2C subsystem to use the new API. Drivers have been build tested. There is one user left in the SMBus part of the core which will need a seperate series because all users of this function need to be checked/converted, too. Except for documentation patches, the conversion has been done with a coccinelle script and further simplification have been applied when proofreading the patches. A branch is here: git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/i2c/new_client_device Looking forward to comments... Wolfram Sang (12): i2c: cht-wc: convert to use i2c_new_client_device() i2c: i801: convert to use i2c_new_client_device() i2c: nvidia-gpu: convert to use i2c_new_client_device() i2c: ocores: convert to use i2c_new_client_device() i2c: powermac: convert to use i2c_new_client_device() i2c: taos-evm: convert to use i2c_new_client_device() i2c: xiic: convert to use i2c_new_client_device() i2c: i2c-core-acpi: convert to use i2c_new_client_device() i2c: i2c-core-base: convert to use i2c_new_client_device() i2c: i2c-core-of: convert to use i2c_new_client_device() docs: i2c: use the new API in 'instantiating-devices.rst' docs: i2c: use the new API in 'writing-clients' Documentation/i2c/instantiating-devices.rst | 8 ++++---- Documentation/i2c/writing-clients.rst | 20 ++++++++++---------- drivers/i2c/busses/i2c-cht-wc.c | 6 +++--- drivers/i2c/busses/i2c-i801.c | 6 +++--- drivers/i2c/busses/i2c-nvidia-gpu.c | 6 +++--- drivers/i2c/busses/i2c-ocores.c | 2 +- drivers/i2c/busses/i2c-powermac.c | 8 ++++---- drivers/i2c/busses/i2c-taos-evm.c | 4 ++-- drivers/i2c/busses/i2c-xiic.c | 2 +- drivers/i2c/i2c-core-acpi.c | 12 ++++-------- drivers/i2c/i2c-core-base.c | 13 ++++++------- drivers/i2c/i2c-core-of.c | 7 +++---- 12 files changed, 44 insertions(+), 50 deletions(-) -- 2.20.1