From patchwork Mon Jul 22 17:26:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 11053131 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 57A2413A4 for ; Mon, 22 Jul 2019 17:26:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 42C1128066 for ; Mon, 22 Jul 2019 17:26:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3683A28429; Mon, 22 Jul 2019 17:26:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E581C28066 for ; Mon, 22 Jul 2019 17:26:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731356AbfGVR0O (ORCPT ); Mon, 22 Jul 2019 13:26:14 -0400 Received: from sauhun.de ([88.99.104.3]:42188 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731335AbfGVR0N (ORCPT ); Mon, 22 Jul 2019 13:26:13 -0400 Received: from localhost (p54B33E22.dip0.t-ipconnect.de [84.179.62.34]) by pokefinder.org (Postfix) with ESMTPSA id 3E8264A1495; Mon, 22 Jul 2019 19:26:11 +0200 (CEST) From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] hwmon: convert subsystem to i2c_new_dummy_device() Date: Mon, 22 Jul 2019 19:26:07 +0200 Message-Id: <20190722172611.3797-1-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This series is part of a tree-wide movement to replace the I2C API call 'i2c_new_dummy' which returns NULL with its new counterpart returning an ERRPTR. The series was generated with coccinelle (audited afterwards, of course) and build tested by me and by buildbot. No tests on HW have been performed. The branch is based on v5.3-rc1. A branch (with some more stuff included) can be found here: git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/i2c/new_dummy Some drivers still need to be manually converted. Patches for those will be sent out individually. Wolfram Sang (3): hwmon: asb100: convert to i2c_new_dummy_device hwmon: smm665: convert to i2c_new_dummy_device hwmon: w83781d: convert to i2c_new_dummy_device drivers/hwmon/asb100.c | 12 ++++++------ drivers/hwmon/smm665.c | 6 +++--- drivers/hwmon/w83781d.c | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-)