From patchwork Thu Aug 8 15:35:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 1144075 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-i2c-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 464CC95rxYz9sMr for ; Fri, 9 Aug 2019 01:36:21 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404012AbfHHPgI (ORCPT ); Thu, 8 Aug 2019 11:36:08 -0400 Received: from sauhun.de ([88.99.104.3]:56436 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732549AbfHHPgI (ORCPT ); Thu, 8 Aug 2019 11:36:08 -0400 Received: from localhost (p5486CA1C.dip0.t-ipconnect.de [84.134.202.28]) by pokefinder.org (Postfix) with ESMTPSA id 150722C3112; Thu, 8 Aug 2019 17:36:05 +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 RFT 0/3] hwmon: convert remaining drivers to i2c_new_dummy_device() Date: Thu, 8 Aug 2019 17:35:55 +0200 Message-Id: <20190808153558.2362-1-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@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(-)