From patchwork Thu Mar 26 21:09:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 1262353 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) 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 48pHkQ5Mj2z9sSb for ; Fri, 27 Mar 2020 08:12:30 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727888AbgCZVMZ (ORCPT ); Thu, 26 Mar 2020 17:12:25 -0400 Received: from sauhun.de ([88.99.104.3]:54348 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727724AbgCZVJy (ORCPT ); Thu, 26 Mar 2020 17:09:54 -0400 Received: from localhost (p54B3331F.dip0.t-ipconnect.de [84.179.51.31]) by pokefinder.org (Postfix) with ESMTPSA id B55872C1F87; Thu, 26 Mar 2020 22:09:52 +0100 (CET) From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , Enric Balletbo i Serra , linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org Subject: [PATCH 0/2] platform: convert to use new I2C API Date: Thu, 26 Mar 2020 22:09:50 +0100 Message-Id: <20200326210952.12857-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 We are deprecating calls which return NULL in favor of new variants which return an ERR_PTR. Only build tested. Wolfram Sang (2): platform/chrome: chromeos_laptop: make I2C API conversion complete platform/mellanox: mlxreg-hotplug: convert to use i2c_new_client_device() drivers/platform/chrome/chromeos_laptop.c | 2 +- drivers/platform/mellanox/mlxreg-hotplug.c | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-)