From patchwork Tue Sep 3 18:12:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 11128559 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5AD6414DE for ; Tue, 3 Sep 2019 18:13:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3F8E722CF8 for ; Tue, 3 Sep 2019 18:13:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729854AbfICSNB (ORCPT ); Tue, 3 Sep 2019 14:13:01 -0400 Received: from sauhun.de ([88.99.104.3]:56818 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728065AbfICSNB (ORCPT ); Tue, 3 Sep 2019 14:13:01 -0400 Received: from localhost (p54B3348D.dip0.t-ipconnect.de [84.179.52.141]) by pokefinder.org (Postfix) with ESMTPSA id EB2612C4F2F; Tue, 3 Sep 2019 20:12:59 +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 RESEND 0/3] hwmon: convert remaining drivers to i2c_new_dummy_device() Date: Tue, 3 Sep 2019 20:12:53 +0200 Message-Id: <20190903181256.13450-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 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. This series fixes the remaining hwmon drivers which could not be converted by my cocci script. So, I did it manually, yet all drivers still follow the same pattern. Build tested by me and by buildbot. No tests on HW have been performed, so testing is appreciated. The branch is based on v5.3-rc2. 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 Wolfram Sang (3): hwmon: w83791d: convert to use devm_i2c_new_dummy_device hwmon: w83792d: convert to use devm_i2c_new_dummy_device hwmon: w83793d: convert to use devm_i2c_new_dummy_device drivers/hwmon/w83791d.c | 32 +++++++++----------------------- drivers/hwmon/w83792d.c | 32 +++++++++----------------------- drivers/hwmon/w83793.c | 30 ++++++++---------------------- 3 files changed, 26 insertions(+), 68 deletions(-)