From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60F66C76195 for ; Mon, 22 Jul 2019 17:26:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 43E352190F for ; Mon, 22 Jul 2019 17:26:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731520AbfGVR0h (ORCPT ); Mon, 22 Jul 2019 13:26:37 -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 S1731360AbfGVR0P (ORCPT ); Mon, 22 Jul 2019 13:26:15 -0400 Received: from localhost (p54B33E22.dip0.t-ipconnect.de [84.179.62.34]) by pokefinder.org (Postfix) with ESMTPSA id 0FB394A1494; Mon, 22 Jul 2019 19:26:14 +0200 (CEST) From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] iio: convert subsystem to i2c_new_dummy_device() Date: Mon, 22 Jul 2019 19:26:10 +0200 Message-Id: <20190722172613.3890-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 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): iio: light: cm36651: convert to i2c_new_dummy_device iio: light: veml6070: convert to i2c_new_dummy_device iio: pressure: hp03: convert to i2c_new_dummy_device drivers/iio/light/cm36651.c | 12 ++++++------ drivers/iio/light/veml6070.c | 6 +++--- drivers/iio/pressure/hp03.c | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-) -- 2.20.1